Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001787/0.001787, allocations: 88.16 kB / 19.44 MB, free: 192 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.00193/0.00193, allocations: 165.3 kB / 22.76 MB, free: 1.523 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.523/1.523, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.36/3.36, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] 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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.8774 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.106e-05, allocations: 3.156 kB / 0.8774 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007022/0.007053, allocations: 4.308 MB / 0.8817 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004475/0.01153, allocations: 2.4 MB / 0.884 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.01175, allocations: 23.75 kB / 0.884 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.01297, allocations: 378.2 kB / 0.8844 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008796/0.01385, allocations: 396.8 kB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.01461, allocations: 324.7 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008719/0.01548, allocations: 0.7061 MB / 0.8858 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.01591, allocations: 233.6 kB / 0.886 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005618/0.01647, allocations: 370.9 kB / 0.8863 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00043/0.0169, allocations: 235.3 kB / 0.8866 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.307e-05/0.01697, allocations: 32 kB / 0.8866 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006806/0.01765, allocations: 398.8 kB / 0.887 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004158/0.01806, allocations: 147.5 kB / 0.8871 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.01829, allocations: 163.5 kB / 0.8873 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.01936, allocations: 0.7515 MB / 0.888 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.01937, allocations: 0.75 kB / 0.888 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.123e-06/0.01937, allocations: 3.938 kB / 0.888 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.01937, allocations: 0.5938 kB / 0.888 GB, free: 11.82 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001356/0.02073, allocations: 0.8511 MB / 0.8888 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.02077, allocations: 8.031 kB / 0.8888 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.02222, allocations: 269.5 kB / 0.8891 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007769/0.023, allocations: 395.7 kB / 0.8895 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.02304, allocations: 25.36 kB / 0.8895 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/0.02312, allocations: 40.31 kB / 0.8895 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.02418, allocations: 0.6488 MB / 0.8902 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.02421, allocations: 8.125 kB / 0.8902 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.194e-05/0.02426, allocations: 16.36 kB / 0.8902 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.02436, allocations: 59.91 kB / 0.8903 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000614/0.02497, allocations: 295.4 kB / 0.8905 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004581/0.02955, allocations: 4.342 MB / 0.8948 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.03124, allocations: 484.8 kB / 0.8952 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.03142, allocations: 83.03 kB / 0.8953 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.03145, allocations: 4 kB / 0.8953 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.03149, allocations: 45.33 kB / 0.8954 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 2.104e-06/0.0315, allocations: 0 / 0.8954 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.002054/0.03355, allocations: 0.7444 MB / 0.8961 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.03364, allocations: 106.8 kB / 0.8962 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005487/0.03419, allocations: 486.5 kB / 0.8967 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.03422, allocations: 29.7 kB / 0.8967 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.03452, allocations: 354.8 kB / 0.897 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.03465, allocations: 131 kB / 0.8972 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.03483, allocations: 112 kB / 0.8973 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003234/0.03515, allocations: 0.5391 MB / 0.8978 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.03536, allocations: 97.2 kB / 0.8979 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.03584, allocations: 393.1 kB / 0.8983 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/0.03658, allocations: 0.5257 MB / 0.8988 GB, free: 32 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.03659, allocations: 3.984 kB / 0.8988 GB, free: 28 kB / 0.8542 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001069/0.03766, allocations: 0.5393 MB / 0.8993 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.03768, allocations: 11.94 kB / 0.8993 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.03769, allocations: 12.09 kB / 0.8993 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/0.03809, allocations: 95 kB / 0.8994 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.03852, allocations: 111.8 kB / 0.8995 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00496/0.04348, allocations: 5.323 MB / 0.9047 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.04385, allocations: 27.97 kB / 0.9047 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.04389, allocations: 24 kB / 0.9048 GB, free: 9.488 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002675/0.04416, allocations: 212.3 kB / 0.905 GB, free: 9.27 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.0443, allocations: 55.72 kB / 0.905 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008408/0.04514, allocations: 363.9 kB / 0.9054 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.04515, allocations: 8 kB / 0.9054 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.04515, allocations: 3.984 kB / 0.9054 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.04517, allocations: 3.938 kB / 0.9054 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.0471, allocations: 1.163 MB / 0.9065 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.04711, allocations: 4 kB / 0.9065 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.04738, allocations: 63.89 kB / 0.9066 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000306/0.04768, allocations: 83.23 kB / 0.9067 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.04772, allocations: 23.98 kB / 0.9067 GB, free: 7.379 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/0.05253, allocations: 5.307 MB / 0.9119 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.05254, allocations: 11.92 kB / 0.9119 GB, free: 1.691 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.05361, allocations: 0.8019 MB / 0.9127 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.05382, allocations: 71.69 kB / 0.9127 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/0.05388, allocations: 8 kB / 0.9127 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.05419, allocations: 23.97 kB / 0.9128 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.05427, allocations: 35.83 kB / 0.9128 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.0543, allocations: 19.98 kB / 0.9128 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000354/0.05466, allocations: 311.1 kB / 0.9131 GB, free: 368 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.05466, allocations: 4.031 kB / 0.9131 GB, free: 364 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007094/0.05537, allocations: 124 kB / 0.9132 GB, free: 240 kB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.05552, allocations: 107.1 kB / 0.9133 GB, free: 124 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.05687, allocations: 0.8303 MB / 0.9141 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.05688, allocations: 3.938 kB / 0.9142 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.05797, allocations: 0.6507 MB / 0.9148 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009251/0.05889, allocations: 133.5 kB / 0.9149 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.06045, allocations: 0.8648 MB / 0.9158 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.06076, allocations: 256.3 kB / 0.916 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002541/0.06102, allocations: 84.34 kB / 0.9161 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/0.06112, allocations: 36.48 kB / 0.9161 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of SimCode: time 1.032e-06/0.06112, allocations: 4 kB / 0.9161 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of Templates: time 0.01313/0.07425, allocations: 5.957 MB / 0.9219 GB, free: 7.227 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.673075994942337]