Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009447/0.0009447, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000957/0.000957, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.049/1.049, allocations: 177.1 MB / 203.4 MB, free: 5.172 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.101/2.101, allocations: 429.5 MB / 0.6732 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.319e-05, allocations: 9.062 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00533/0.005363, allocations: 4.214 MB / 0.8823 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002733/0.008096, allocations: 1.561 MB / 0.8838 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004411/0.008537, allocations: 39.62 kB / 0.8838 GB, free: 484 kB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.009192, allocations: 205.5 kB / 0.884 GB, free: 280 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0007803/0.009973, allocations: 401.7 kB / 0.8844 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007232/0.0107, allocations: 379.2 kB / 0.8848 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.0119, allocations: 1.151 MB / 0.8859 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000694/0.01259, allocations: 0.5061 MB / 0.8864 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006875/0.01328, allocations: 0.6118 MB / 0.887 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.01376, allocations: 430.8 kB / 0.8874 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.714e-05/0.01383, allocations: 60 kB / 0.8875 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.01408, allocations: 135.8 kB / 0.8876 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.01431, allocations: 307.1 kB / 0.8879 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.01453, allocations: 279.3 kB / 0.8882 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.01519, allocations: 0.6733 MB / 0.8888 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.0152, allocations: 4 kB / 0.8888 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.392e-06/0.0152, allocations: 0 / 0.8888 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.01521, allocations: 0 / 0.8888 GB, free: 11.36 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001097/0.01631, allocations: 1.064 MB / 0.8899 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.01635, allocations: 12.03 kB / 0.8899 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009516/0.0173, allocations: 339.7 kB / 0.8902 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000629/0.01793, allocations: 0.5537 MB / 0.8907 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.01796, allocations: 53.66 kB / 0.8908 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.01804, allocations: 60.38 kB / 0.8908 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008433/0.01888, allocations: 0.9014 MB / 0.8917 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.01891, allocations: 8.078 kB / 0.8917 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.01895, allocations: 36.36 kB / 0.8918 GB, free: 8.109 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.97e-05/0.01902, allocations: 73.2 kB / 0.8918 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.01949, allocations: 331.2 kB / 0.8922 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.02256, allocations: 5.639 MB / 0.8977 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000429/0.02298, allocations: 247.6 kB / 0.8979 GB, free: 1.621 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.02338, allocations: 255.5 kB / 0.8981 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.02342, allocations: 8 kB / 0.8981 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.02344, allocations: 37.39 kB / 0.8982 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 2.615e-06/0.02344, allocations: 0 / 0.8982 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.002144/0.02559, allocations: 1.152 MB / 0.8993 GB, free: 140 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.02562, allocations: 59.41 kB / 0.8994 GB, free: 68 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.02596, allocations: 470.5 kB / 0.8998 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.02598, allocations: 33.7 kB / 0.8998 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.02619, allocations: 442.7 kB / 0.9003 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/0.02629, allocations: 166.6 kB / 0.9004 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.02641, allocations: 115.9 kB / 0.9005 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.02657, allocations: 0.5274 MB / 0.9011 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.02673, allocations: 117.2 kB / 0.9012 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.02704, allocations: 408.7 kB / 0.9016 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/0.02755, allocations: 0.5572 MB / 0.9021 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.02755, allocations: 4 kB / 0.9021 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0009234/0.02848, allocations: 0.7176 MB / 0.9028 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.0285, allocations: 8 kB / 0.9028 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.02851, allocations: 4 kB / 0.9028 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006483/0.02916, allocations: 267.1 kB / 0.9031 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.02935, allocations: 99.77 kB / 0.9032 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004357/0.03371, allocations: 7.716 MB / 0.9107 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.03401, allocations: 35.97 kB / 0.9107 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.03405, allocations: 24 kB / 0.9108 GB, free: 3.555 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002135/0.03426, allocations: 204.3 kB / 0.911 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.03433, allocations: 71.62 kB / 0.911 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007991/0.03513, allocations: 0.5594 MB / 0.9116 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.03514, allocations: 4 kB / 0.9116 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.03514, allocations: 4.188 kB / 0.9116 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.03515, allocations: 7.922 kB / 0.9116 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.03651, allocations: 1.147 MB / 0.9127 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.03652, allocations: 0 / 0.9127 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.302e-05/0.03661, allocations: 43.91 kB / 0.9127 GB, free: 1.402 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005576/0.03717, allocations: 254.7 kB / 0.913 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.03719, allocations: 11.94 kB / 0.913 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004003/0.04119, allocations: 7.693 MB / 0.9205 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.04119, allocations: 7.938 kB / 0.9205 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.0421, allocations: 0.7462 MB / 0.9212 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.04226, allocations: 99.52 kB / 0.9213 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.04229, allocations: 8 kB / 0.9214 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.04243, allocations: 23.97 kB / 0.9214 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.04253, allocations: 43.92 kB / 0.9214 GB, free: 7.953 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.04254, allocations: 16.19 kB / 0.9214 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004553/0.043, allocations: 294.8 kB / 0.9217 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.043, allocations: 0 / 0.9217 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006428/0.04364, allocations: 196 kB / 0.9219 GB, free: 7.461 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001419/0.04378, allocations: 115.2 kB / 0.922 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.04503, allocations: 1.153 MB / 0.9231 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.04504, allocations: 0 / 0.9231 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.0457, allocations: 0.9564 MB / 0.9241 GB, free: 5.086 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/0.04634, allocations: 193.7 kB / 0.9243 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.04831, allocations: 1.17 MB / 0.9254 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.04848, allocations: 206.2 kB / 0.9256 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.04869, allocations: 92.98 kB / 0.9257 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.04876, allocations: 36.5 kB / 0.9257 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of SimCode: time 1.292e-06/0.04876, allocations: 0 / 0.9257 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of Templates: time 0.01403/0.06279, allocations: 10.54 MB / 0.936 GB, free: 8.977 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.6472437530756]