Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0009754/0.0009754, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001018/0.001018, allocations: 181 kB / 23.36 MB, free: 1.129 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.9709/0.9709, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.611/2.611, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.419e-05, allocations: 9.969 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02755/0.02757, allocations: 9.688 MB / 0.8481 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.008564/0.03614, allocations: 6.036 MB / 0.854 GB, free: 14.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.03754, allocations: 83.25 kB / 0.8541 GB, free: 14.32 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009662/0.03851, allocations: 377 kB / 0.8544 GB, free: 13.95 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.04163, allocations: 1.433 MB / 0.8558 GB, free: 12.51 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.04284, allocations: 0.6667 MB / 0.8565 GB, free: 11.84 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.002589/0.04543, allocations: 2.601 MB / 0.859 GB, free: 9.23 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.04695, allocations: 1.254 MB / 0.8602 GB, free: 7.938 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.04908, allocations: 1.579 MB / 0.8618 GB, free: 6.355 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.05016, allocations: 0.9856 MB / 0.8627 GB, free: 5.367 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.05035, allocations: 160 kB / 0.8629 GB, free: 5.211 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005029/0.05085, allocations: 327.6 kB / 0.8632 GB, free: 4.891 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003859/0.05124, allocations: 0.6543 MB / 0.8638 GB, free: 4.234 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005321/0.05177, allocations: 0.6429 MB / 0.8645 GB, free: 3.59 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.05304, allocations: 1.534 MB / 0.866 GB, free: 2.051 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.05304, allocations: 0 / 0.866 GB, free: 2.051 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.303e-06/0.05304, allocations: 0 / 0.866 GB, free: 2.051 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.913e-05/0.05307, allocations: 0 / 0.866 GB, free: 2.051 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002092/0.05516, allocations: 1.97 MB / 0.8679 GB, free: 48 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.05519, allocations: 12.56 kB / 0.8679 GB, free: 36 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.05844, allocations: 0.8392 MB / 0.8687 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.05962, allocations: 1.061 MB / 0.8698 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.05967, allocations: 86.73 kB / 0.8698 GB, free: 14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.05983, allocations: 120.4 kB / 0.87 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.06149, allocations: 1.621 MB / 0.8715 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.06152, allocations: 19.81 kB / 0.8716 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.06162, allocations: 51.98 kB / 0.8716 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00027/0.06189, allocations: 130.2 kB / 0.8717 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007637/0.06266, allocations: 0.5582 MB / 0.8723 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005315/0.06797, allocations: 5.724 MB / 0.8779 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009852/0.06896, allocations: 0.5607 MB / 0.8784 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.06929, allocations: 255.7 kB / 0.8787 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.957e-05/0.06934, allocations: 17 kB / 0.8787 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.06936, allocations: 39.56 kB / 0.8787 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=89): time 3.126e-06/0.06937, allocations: 7.922 kB / 0.8787 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90): time 0.00698/0.07635, allocations: 3.212 MB / 0.8819 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.07638, allocations: 72.28 kB / 0.8819 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.07689, allocations: 0.8557 MB / 0.8828 GB, free: 316 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/0.07695, allocations: 41.7 kB / 0.8828 GB, free: 268 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.07721, allocations: 0.5653 MB / 0.8834 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.07739, allocations: 329.1 kB / 0.8837 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.07764, allocations: 178.8 kB / 0.8838 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.07772, allocations: 357.8 kB / 0.8842 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.078, allocations: 194.5 kB / 0.8844 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.07843, allocations: 440.5 kB / 0.8848 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007078/0.07914, allocations: 0.7155 MB / 0.8855 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.07914, allocations: 0 / 0.8855 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001843/0.08098, allocations: 1.21 MB / 0.8867 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.081, allocations: 8 kB / 0.8867 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.08101, allocations: 11.94 kB / 0.8867 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.08294, allocations: 0.758 MB / 0.8874 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.08356, allocations: 211.6 kB / 0.8876 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007891/0.09145, allocations: 12.41 MB / 0.8997 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.09203, allocations: 55.97 kB / 0.8998 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.0921, allocations: 35.97 kB / 0.8998 GB, free: 13.65 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 (90): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002965/0.0924, allocations: 176.5 kB / 0.9 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.09256, allocations: 119.8 kB / 0.9001 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.09449, allocations: 1.181 MB / 0.9013 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.09449, allocations: 12 kB / 0.9013 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.0945, allocations: 4 kB / 0.9013 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.09451, allocations: 11.92 kB / 0.9013 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00324/0.09775, allocations: 2.015 MB / 0.9033 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.09776, allocations: 0 / 0.9033 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005002/0.09826, allocations: 143.8 kB / 0.9034 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/0.1001, allocations: 0.7426 MB / 0.9041 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.1002, allocations: 31.95 kB / 0.9042 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007665/0.1078, allocations: 12.07 MB / 0.9159 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1078, allocations: 3.938 kB / 0.9159 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.1099, allocations: 1.196 MB / 0.9171 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.1103, allocations: 242.9 kB / 0.9173 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.1104, allocations: 12 kB / 0.9174 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004714/0.1109, allocations: 43.98 kB / 0.9174 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/0.1111, allocations: 88.72 kB / 0.9175 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.1112, allocations: 31.95 kB / 0.9175 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003445/0.1115, allocations: 429 kB / 0.9179 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1115, allocations: 0 / 0.9179 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00108/0.1126, allocations: 475.9 kB / 0.9184 GB, free: 9.52 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 (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001951/0.1128, allocations: 106.2 kB / 0.9185 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002012/0.1148, allocations: 1.95 MB / 0.9204 GB, free: 7.34 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/0.1148, allocations: 12.5 kB / 0.9204 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.1162, allocations: 1.594 MB / 0.922 GB, free: 5.617 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.1174, allocations: 0.5242 MB / 0.9225 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.1208, allocations: 2.506 MB / 0.9249 GB, free: 2.543 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1211, allocations: 392.2 kB / 0.9253 GB, free: 2.137 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007519/0.1219, allocations: 283.2 kB / 0.9256 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007965/0.1227, allocations: 407 kB / 0.9259 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of SimCode: time 1.403e-06/0.1227, allocations: 0 / 0.9259 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of Templates: time 0.03976/0.1625, allocations: 34.37 MB / 0.9595 GB, free: 15.7 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.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: 6.126261383295059]