Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001271/0.001271, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001046/0.001046, allocations: 166.6 kB / 24.87 MB, free: 9.285 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.9222/0.9222, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.763/1.763, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.[0-9,]+..v.[0-9,]+.|R2.terminal.phase.[0-9,]+..v.[0-9,]+.|R3.terminal.phase.[0-9,]+..v.[0-9,]+.|E.vPhase.[0-9,]+..terminal.v.[0-9,]+.|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.|sc_load.load1.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.527e-05, allocations: 2.969 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02167/0.02169, allocations: 20.92 MB / 0.8088 GB, free: 7.227 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.03276, allocations: 6.155 MB / 0.8148 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003067/0.03583, allocations: 198.6 kB / 0.815 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.03876, allocations: 0.9261 MB / 0.8159 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.004584/0.04334, allocations: 2.049 MB / 0.8179 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003642/0.04698, allocations: 1.837 MB / 0.8197 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.009339/0.05632, allocations: 9.333 MB / 0.8288 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007705/0.06403, allocations: 6.187 MB / 0.8348 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008929/0.07296, allocations: 5.758 MB / 0.8404 GB, free: 6.645 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006823/0.07978, allocations: 4.537 MB / 0.8449 GB, free: 2.098 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.002208/0.08199, allocations: 0.8203 MB / 0.8457 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.08465, allocations: 0.9138 MB / 0.8466 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.004854/0.08951, allocations: 3.406 MB / 0.8499 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.005205/0.09471, allocations: 2.585 MB / 0.8524 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.007786/0.1025, allocations: 6.335 MB / 0.8586 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1025, allocations: 0 / 0.8586 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1025, allocations: 0 / 0.8586 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0003464/0.1029, allocations: 0 / 0.8586 GB, free: 4.008 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01006/0.1129, allocations: 6.538 MB / 0.865 GB, free: 13.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.1129, allocations: 8.031 kB / 0.865 GB, free: 13.39 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003057/0.116, allocations: 1.499 MB / 0.8665 GB, free: 11.89 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/0.1202, allocations: 3.152 MB / 0.8695 GB, free: 8.676 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.1205, allocations: 423.8 kB / 0.8699 GB, free: 8.262 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006513/0.1211, allocations: 0.5628 MB / 0.8705 GB, free: 7.699 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006979/0.1281, allocations: 5.881 MB / 0.8762 GB, free: 1.148 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.941e-05/0.1282, allocations: 16.06 kB / 0.8762 GB, free: 1.133 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003967/0.1286, allocations: 244.3 kB / 0.8765 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003945/0.129, allocations: 422.9 kB / 0.8769 GB, free: 492 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003438/0.1324, allocations: 1.69 MB / 0.8785 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02304/0.1555, allocations: 26.7 MB / 0.9046 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.157, allocations: 1.263 MB / 0.9058 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008675/0.1579, allocations: 0.8199 MB / 0.9066 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.92e-05/0.158, allocations: 37.98 kB / 0.9067 GB, free: 1.211 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.158, allocations: 71.39 kB / 0.9067 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 4.588e-06/0.158, allocations: 0 / 0.9067 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.01093/0.1689, allocations: 5.403 MB / 0.912 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.169, allocations: 73.41 kB / 0.9121 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.1703, allocations: 1.663 MB / 0.9137 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.1704, allocations: 65.7 kB / 0.9138 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.1716, allocations: 2.54 MB / 0.9163 GB, free: 7.293 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/0.172, allocations: 0.7941 MB / 0.917 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004859/0.1725, allocations: 495.8 kB / 0.9175 GB, free: 6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1726, allocations: 480.7 kB / 0.918 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004483/0.1731, allocations: 349 kB / 0.9183 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009456/0.174, allocations: 1.399 MB / 0.9197 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.1756, allocations: 1.96 MB / 0.9216 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.1756, allocations: 8 kB / 0.9216 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.003239/0.1788, allocations: 2.574 MB / 0.9241 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.1789, allocations: 16.41 kB / 0.9241 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.1789, allocations: 24 kB / 0.9241 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/0.1812, allocations: 1.179 MB / 0.9253 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008271/0.182, allocations: 399.3 kB / 0.9257 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009355/0.1913, allocations: 11.89 MB / 0.9373 GB, free: 408 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.1927, allocations: 75.98 kB / 0.9373 GB, free: 332 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.1928, allocations: 92.08 kB / 0.9374 GB, free: 240 kB / 0.8855 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001128/0.1939, allocations: 312 kB / 0.9377 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/0.1943, allocations: 346.3 kB / 0.9381 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.1969, allocations: 2.038 MB / 0.9401 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.1969, allocations: 24 kB / 0.9401 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.1969, allocations: 16 kB / 0.9401 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.1969, allocations: 11.91 kB / 0.9401 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006434/0.2034, allocations: 4.764 MB / 0.9448 GB, free: 8.551 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.2034, allocations: 4 kB / 0.9448 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.2039, allocations: 187.7 kB / 0.9449 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002038/0.2059, allocations: 1.018 MB / 0.9459 GB, free: 7.332 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-05/0.206, allocations: 44 kB / 0.946 GB, free: 7.289 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008854/0.2148, allocations: 11.82 MB / 0.9575 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2148, allocations: 7.938 kB / 0.9575 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.2178, allocations: 2.334 MB / 0.9598 GB, free: 8.57 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000998/0.2188, allocations: 470.1 kB / 0.9603 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.219, allocations: 44 kB / 0.9603 GB, free: 8.066 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006181/0.2197, allocations: 40 kB / 0.9603 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005265/0.2202, allocations: 197.5 kB / 0.9605 GB, free: 7.832 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.713e-05/0.2203, allocations: 52.08 kB / 0.9606 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009163/0.2212, allocations: 0.875 MB / 0.9614 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.91e-07/0.2212, allocations: 0 / 0.9614 GB, free: 6.891 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003126/0.2243, allocations: 1.141 MB / 0.9625 GB, free: 5.75 MB / 0.9167 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002716/0.2246, allocations: 167 kB / 0.9627 GB, free: 5.578 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003363/0.228, allocations: 2.928 MB / 0.9656 GB, free: 2.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.228, allocations: 4 kB / 0.9656 GB, free: 2.566 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/0.2302, allocations: 2.187 MB / 0.9677 GB, free: 316 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.2324, allocations: 0.8165 MB / 0.9685 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/0.2438, allocations: 8.422 MB / 0.9767 GB, free: 6.93 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/0.2452, allocations: 1.393 MB / 0.9781 GB, free: 5.512 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001181/0.2464, allocations: 315.4 kB / 0.9784 GB, free: 5.199 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/0.2475, allocations: 0.7984 MB / 0.9792 GB, free: 4.398 MB / 0.9323 GB Notification: Performance of SimCode: time 2.746e-06/0.2475, allocations: 0 / 0.9792 GB, free: 4.398 MB / 0.9323 GB Notification: Performance of Templates: time 0.07134/0.3189, allocations: 56.52 MB / 1.034 GB, free: 13 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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: 6.5845037759281695]