Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.00153/0.00153, allocations: 93.06 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.001744/0.001744, allocations: 173 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 0.8918/0.8918, allocations: 177.1 MB / 203.4 MB, free: 5.641 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 1.953/1.953, allocations: 429.5 MB / 0.6733 GB, free: 4.066 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_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8782 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.906e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006562/0.006592, allocations: 4.891 MB / 0.883 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002386/0.008978, allocations: 1.728 MB / 0.8846 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003411/0.009319, allocations: 39.62 kB / 0.8847 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.009902, allocations: 206.5 kB / 0.8849 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006524/0.01055, allocations: 446.5 kB / 0.8853 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000729/0.01128, allocations: 399.1 kB / 0.8857 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0011/0.01238, allocations: 1.279 MB / 0.8869 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006337/0.01302, allocations: 0.5334 MB / 0.8875 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006758/0.01369, allocations: 0.678 MB / 0.8881 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/0.01434, allocations: 0.4909 MB / 0.8886 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.01444, allocations: 68 kB / 0.8887 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.01473, allocations: 135.8 kB / 0.8888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002272/0.01496, allocations: 331 kB / 0.8891 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.01519, allocations: 311.2 kB / 0.8894 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.01583, allocations: 0.7357 MB / 0.8901 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.01583, allocations: 0 / 0.8901 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.91e-07/0.01583, allocations: 0 / 0.8901 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.01585, allocations: 3.984 kB / 0.8901 GB, free: 10.1 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001131/0.01698, allocations: 1.196 MB / 0.8913 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.01701, allocations: 8.031 kB / 0.8913 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000778/0.01779, allocations: 319.8 kB / 0.8916 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.01836, allocations: 0.5524 MB / 0.8921 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.01839, allocations: 49.61 kB / 0.8922 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.01846, allocations: 72.36 kB / 0.8923 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/0.01929, allocations: 1.076 MB / 0.8933 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.01931, allocations: 4.125 kB / 0.8933 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.01935, allocations: 32.36 kB / 0.8933 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.622e-05/0.01945, allocations: 89.19 kB / 0.8934 GB, free: 6.445 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.01993, allocations: 355.2 kB / 0.8938 GB, free: 6.098 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002967/0.0229, allocations: 5.713 MB / 0.8993 GB, free: 184 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.02337, allocations: 300.3 kB / 0.8996 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.02354, allocations: 129.1 kB / 0.8998 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.02356, allocations: 8.5 kB / 0.8998 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.02359, allocations: 45.89 kB / 0.8998 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 1.793e-06/0.02359, allocations: 0 / 0.8998 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.001725/0.02531, allocations: 1.091 MB / 0.9009 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.02534, allocations: 63.78 kB / 0.9009 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.02569, allocations: 0.5336 MB / 0.9015 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.02571, allocations: 33.7 kB / 0.9015 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.02591, allocations: 474.5 kB / 0.9019 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.264e-05/0.026, allocations: 182.5 kB / 0.9021 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.02612, allocations: 128.2 kB / 0.9022 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.02626, allocations: 0.543 MB / 0.9028 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.02642, allocations: 121.9 kB / 0.9029 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.02671, allocations: 424.6 kB / 0.9033 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004865/0.0272, allocations: 0.578 MB / 0.9039 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.0272, allocations: 4 kB / 0.9039 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008567/0.02806, allocations: 0.7415 MB / 0.9046 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.02807, allocations: 8 kB / 0.9046 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.02808, allocations: 8 kB / 0.9046 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007096/0.02879, allocations: 310.7 kB / 0.9049 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.02904, allocations: 127.8 kB / 0.905 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003465/0.0325, allocations: 7.611 MB / 0.9124 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.03274, allocations: 35.97 kB / 0.9125 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.03277, allocations: 36 kB / 0.9125 GB, free: 1.789 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.03291, allocations: 196.4 kB / 0.9127 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.03298, allocations: 83.77 kB / 0.9128 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/0.03364, allocations: 0.5455 MB / 0.9133 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.03365, allocations: 8 kB / 0.9133 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.03365, allocations: 11.98 kB / 0.9133 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.03366, allocations: 0 / 0.9133 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.03484, allocations: 1.174 MB / 0.9145 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.03484, allocations: 192 / 0.9145 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.03497, allocations: 67.95 kB / 0.9145 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006182/0.03559, allocations: 290.4 kB / 0.9148 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.03562, allocations: 12 kB / 0.9148 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.03892, allocations: 7.599 MB / 0.9223 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.03892, allocations: 4 kB / 0.9223 GB, free: 7.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/0.03962, allocations: 0.7363 MB / 0.923 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.03976, allocations: 107.5 kB / 0.9231 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.0398, allocations: 12.19 kB / 0.9231 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.03997, allocations: 27.97 kB / 0.9231 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.969e-05/0.04005, allocations: 51.84 kB / 0.9232 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.04007, allocations: 16 kB / 0.9232 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002148/0.04029, allocations: 338.8 kB / 0.9235 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.04029, allocations: 0 / 0.9235 GB, free: 5.84 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004605/0.04075, allocations: 224 kB / 0.9237 GB, free: 5.621 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.784e-05/0.04085, allocations: 119.2 kB / 0.9238 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009956/0.04184, allocations: 1.187 MB / 0.925 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.04184, allocations: 0 / 0.925 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006076/0.04245, allocations: 0.9883 MB / 0.926 GB, free: 3.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.043, allocations: 200.5 kB / 0.9262 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.04448, allocations: 1.263 MB / 0.9274 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/0.04463, allocations: 211.4 kB / 0.9276 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.04484, allocations: 105.5 kB / 0.9277 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.04492, allocations: 40.5 kB / 0.9277 GB, free: 1.289 MB / 0.8855 GB Notification: Performance of SimCode: time 5.91e-07/0.04492, allocations: 0 / 0.9277 GB, free: 1.289 MB / 0.8855 GB Notification: Performance of Templates: time 0.01282/0.05774, allocations: 11.98 MB / 0.9394 GB, free: 5.531 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.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.230102624744177]