Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.0009694/0.0009694, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001087/0.001087, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.9079/0.9079, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.826/1.826, allocations: 377.9 MB / 0.624 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.[0-9,]+..v.[0-9,]+.|L2.terminal.phase.[0-9,]+..v.[0-9,]+.|L3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|L1.load1.i.[0-9,]+.|L2.load1.i.[0-9,]+.|L3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.427e-05, allocations: 2.312 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.01351/0.01352, allocations: 17.81 MB / 0.8294 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.007852/0.02137, allocations: 5.563 MB / 0.8348 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.02278, allocations: 207.5 kB / 0.835 GB, free: 9.824 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.02403, allocations: 0.8145 MB / 0.8358 GB, free: 9.004 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.0263, allocations: 1.791 MB / 0.8376 GB, free: 7.215 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.02878, allocations: 1.751 MB / 0.8393 GB, free: 5.469 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.006115/0.0349, allocations: 8.466 MB / 0.8476 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005945/0.04084, allocations: 6.026 MB / 0.8535 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005761/0.0466, allocations: 5.359 MB / 0.8587 GB, free: 1.465 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004327/0.05093, allocations: 4.268 MB / 0.8629 GB, free: 13.19 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009308/0.05186, allocations: 0.7773 MB / 0.8636 GB, free: 12.41 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.05301, allocations: 0.8708 MB / 0.8645 GB, free: 11.54 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002109/0.05512, allocations: 3.309 MB / 0.8677 GB, free: 8.223 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.05699, allocations: 2.398 MB / 0.87 GB, free: 5.82 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004174/0.06117, allocations: 5.972 MB / 0.8759 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.06117, allocations: 0 / 0.8759 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/0.06117, allocations: 0 / 0.8759 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001176/0.06129, allocations: 0.6875 kB / 0.8759 GB, free: 15.83 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.006137/0.06743, allocations: 5.965 MB / 0.8817 GB, free: 9.797 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.06746, allocations: 12.03 kB / 0.8817 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00271/0.07017, allocations: 1.561 MB / 0.8832 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.07338, allocations: 3 MB / 0.8862 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.07359, allocations: 415.5 kB / 0.8866 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005377/0.07412, allocations: 0.5432 MB / 0.8871 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005532/0.07966, allocations: 5.092 MB / 0.8921 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.59e-05/0.07975, allocations: 31.95 kB / 0.8921 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000321/0.08007, allocations: 232.3 kB / 0.8923 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002312/0.0803, allocations: 358.7 kB / 0.8927 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.08248, allocations: 1.615 MB / 0.8942 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01691/0.09939, allocations: 25.61 MB / 0.9192 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.1005, allocations: 1.124 MB / 0.9203 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007059/0.1012, allocations: 0.7671 MB / 0.9211 GB, free: 160 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.796e-05/0.1013, allocations: 37.94 kB / 0.9211 GB, free: 124 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1013, allocations: 59.39 kB / 0.9212 GB, free: 52 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=179): time 2.665e-06/0.1013, allocations: 0 / 0.9212 GB, free: 52 kB / 0.8698 GB Notification: Performance of matching and sorting (n=182): time 0.009886/0.1112, allocations: 5.325 MB / 0.9264 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.1112, allocations: 81.33 kB / 0.9265 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008601/0.1121, allocations: 1.357 MB / 0.9278 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/0.1122, allocations: 49.7 kB / 0.9278 GB, free: 9.199 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.1132, allocations: 2.385 MB / 0.9302 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.1135, allocations: 0.6818 MB / 0.9308 GB, free: 6.105 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.1139, allocations: 425.9 kB / 0.9312 GB, free: 5.68 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.114, allocations: 480.8 kB / 0.9317 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/0.1143, allocations: 292.2 kB / 0.932 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007548/0.1151, allocations: 1.313 MB / 0.9333 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.1163, allocations: 1.815 MB / 0.935 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.607e-06/0.1163, allocations: 8 kB / 0.935 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.002746/0.1191, allocations: 2.399 MB / 0.9374 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1191, allocations: 18.5 kB / 0.9374 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.1191, allocations: 20 kB / 0.9374 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001876/0.121, allocations: 1.18 MB / 0.9386 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.1215, allocations: 315.4 kB / 0.9389 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009169/0.1307, allocations: 12.19 MB / 0.9508 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/0.1314, allocations: 64 kB / 0.9508 GB, free: 272 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.743e-05/0.1315, allocations: 72 kB / 0.9509 GB, free: 200 kB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001171/0.1327, allocations: 300 kB / 0.9512 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.1329, allocations: 274.6 kB / 0.9514 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.1352, allocations: 1.935 MB / 0.9533 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.1352, allocations: 16 kB / 0.9534 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.1352, allocations: 23.94 kB / 0.9534 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.1352, allocations: 15.89 kB / 0.9534 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006032/0.1413, allocations: 4.571 MB / 0.9579 GB, free: 8.883 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.1413, allocations: 4.562 kB / 0.9579 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.1416, allocations: 147.7 kB / 0.958 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/0.1433, allocations: 0.969 MB / 0.9589 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.1434, allocations: 36 kB / 0.959 GB, free: 7.719 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007781/0.1512, allocations: 11.44 MB / 0.9702 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.1512, allocations: 4 kB / 0.9702 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.1536, allocations: 2.178 MB / 0.9723 GB, free: 9.527 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/0.154, allocations: 390.4 kB / 0.9727 GB, free: 9.145 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.1541, allocations: 36 kB / 0.9727 GB, free: 9.109 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.1545, allocations: 35.94 kB / 0.9727 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.1547, allocations: 169.5 kB / 0.9729 GB, free: 8.906 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/0.1548, allocations: 36 kB / 0.9729 GB, free: 8.871 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004529/0.1552, allocations: 0.7236 MB / 0.9736 GB, free: 8.156 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4e-08/0.1552, allocations: 0 / 0.9736 GB, free: 8.156 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001995/0.1572, allocations: 0.9922 MB / 0.9746 GB, free: 7.164 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * 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: 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001705/0.1574, allocations: 151 kB / 0.9747 GB, free: 7.008 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002511/0.1599, allocations: 2.797 MB / 0.9775 GB, free: 4.133 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1599, allocations: 0 / 0.9775 GB, free: 4.133 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.1617, allocations: 2.072 MB / 0.9795 GB, free: 1.984 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.1632, allocations: 0.7649 MB / 0.9802 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007983/0.1712, allocations: 7.803 MB / 0.9879 GB, free: 9.301 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/0.1723, allocations: 1.349 MB / 0.9892 GB, free: 7.922 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005367/0.1728, allocations: 247.4 kB / 0.9894 GB, free: 7.676 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007882/0.1736, allocations: 0.5838 MB / 0.99 GB, free: 7.09 MB / 0.948 GB Notification: Performance of SimCode: time 7.71e-07/0.1736, allocations: 0 / 0.99 GB, free: 7.09 MB / 0.948 GB Notification: Performance of Templates: time 0.05526/0.2289, allocations: 47.62 MB / 1.036 GB, free: 8.273 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.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.530529868789017]