Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001004/0.001004, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001051/0.001051, allocations: 177 kB / 23.36 MB, free: 1.133 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.979/0.979, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.472/2.472, 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.[0-9,]+..i.[0-9,]+.|Rline_2.terminal_n.phase.[0-9,]+..i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.437e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.006596/0.00662, allocations: 6.289 MB / 0.8448 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003419/0.01004, allocations: 2.121 MB / 0.8469 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005427/0.01058, allocations: 47.62 kB / 0.8469 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006562/0.01124, allocations: 258.3 kB / 0.8471 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0009364/0.01217, allocations: 0.6527 MB / 0.8478 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008159/0.01299, allocations: 0.5615 MB / 0.8483 GB, free: 4.191 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002112/0.0151, allocations: 2.737 MB / 0.851 GB, free: 1.449 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001475/0.01658, allocations: 1.487 MB / 0.8525 GB, free: 15.91 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.0183, allocations: 1.567 MB / 0.854 GB, free: 14.34 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.01988, allocations: 1.368 MB / 0.8553 GB, free: 12.97 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003477/0.02022, allocations: 216 kB / 0.8555 GB, free: 12.76 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005768/0.0208, allocations: 319.7 kB / 0.8558 GB, free: 12.45 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007592/0.02156, allocations: 1.06 MB / 0.8569 GB, free: 11.38 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008601/0.02242, allocations: 0.7212 MB / 0.8576 GB, free: 10.66 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.02405, allocations: 1.921 MB / 0.8594 GB, free: 8.734 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.02405, allocations: 0 / 0.8594 GB, free: 8.734 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.72e-07/0.02405, allocations: 0 / 0.8594 GB, free: 8.734 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.204e-05/0.02408, allocations: 0 / 0.8594 GB, free: 8.734 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.0018/0.02588, allocations: 1.786 MB / 0.8612 GB, free: 6.914 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.02591, allocations: 8.625 kB / 0.8612 GB, free: 6.906 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.0287, allocations: 0.8473 MB / 0.862 GB, free: 6.059 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.02998, allocations: 0.8553 MB / 0.8629 GB, free: 5.176 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.889e-05/0.03003, allocations: 107.3 kB / 0.863 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.03022, allocations: 148.3 kB / 0.8631 GB, free: 4.926 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.03175, allocations: 1.481 MB / 0.8646 GB, free: 3.324 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.03178, allocations: 4.188 kB / 0.8646 GB, free: 3.32 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.03192, allocations: 60.34 kB / 0.8646 GB, free: 3.262 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/0.03206, allocations: 182.9 kB / 0.8648 GB, free: 3.082 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008765/0.03294, allocations: 0.6147 MB / 0.8654 GB, free: 2.457 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006206/0.03915, allocations: 6.355 MB / 0.8716 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005909/0.03974, allocations: 419 kB / 0.872 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.04006, allocations: 271.8 kB / 0.8723 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.04011, allocations: 16.66 kB / 0.8723 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.04013, allocations: 43.22 kB / 0.8723 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=82): time 3.186e-06/0.04014, allocations: 0 / 0.8723 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=85): time 0.009009/0.04915, allocations: 4.024 MB / 0.8762 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.04918, allocations: 60.41 kB / 0.8763 GB, free: 7.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007068/0.04988, allocations: 0.6245 MB / 0.8769 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.04993, allocations: 41.7 kB / 0.8769 GB, free: 6.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.0502, allocations: 0.6723 MB / 0.8776 GB, free: 5.652 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.05038, allocations: 313.2 kB / 0.8779 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.05062, allocations: 190.8 kB / 0.8781 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.05075, allocations: 406.5 kB / 0.8785 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.051, allocations: 165.4 kB / 0.8786 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.05135, allocations: 430.5 kB / 0.879 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006778/0.05203, allocations: 0.6837 MB / 0.8797 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.05203, allocations: 4 kB / 0.8797 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002282/0.05431, allocations: 1.351 MB / 0.881 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.05434, allocations: 11.94 kB / 0.881 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.05435, allocations: 8 kB / 0.8811 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/0.05721, allocations: 0.8572 MB / 0.8819 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.05778, allocations: 167.7 kB / 0.882 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008059/0.06584, allocations: 5.555 MB / 0.8875 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006236/0.06646, allocations: 28 kB / 0.8875 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/0.06655, allocations: 39.98 kB / 0.8875 GB, free: 11.01 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004008/0.06696, allocations: 168.4 kB / 0.8877 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.06713, allocations: 99.97 kB / 0.8878 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.06999, allocations: 1.237 MB / 0.889 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.07, allocations: 12 kB / 0.889 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.07002, allocations: 12 kB / 0.889 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.07003, allocations: 3.984 kB / 0.889 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/0.07495, allocations: 2.072 MB / 0.8911 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.07496, allocations: 0 / 0.8911 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.07524, allocations: 79.89 kB / 0.8911 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002816/0.07806, allocations: 0.8364 MB / 0.8919 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.008e-05/0.07813, allocations: 23.94 kB / 0.892 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007755/0.08588, allocations: 5.558 MB / 0.8974 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.08589, allocations: 4 kB / 0.8974 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.08901, allocations: 1.327 MB / 0.8987 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/0.08942, allocations: 183.3 kB / 0.8989 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.08954, allocations: 16 kB / 0.8989 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.08991, allocations: 16 kB / 0.8989 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.09018, allocations: 80.39 kB / 0.899 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.09024, allocations: 20.12 kB / 0.899 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003497/0.09059, allocations: 296.5 kB / 0.8993 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.09059, allocations: 4 kB / 0.8993 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001507/0.09209, allocations: 0.5156 MB / 0.8998 GB, free: 14.13 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,12,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001858/0.09228, allocations: 104.3 kB / 0.8999 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002073/0.09435, allocations: 1.115 MB / 0.901 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-05/0.09438, allocations: 8.5 kB / 0.901 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.09572, allocations: 0.8158 MB / 0.9018 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008093/0.09652, allocations: 206.5 kB / 0.902 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004359/0.1009, allocations: 2.668 MB / 0.9046 GB, free: 9.086 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.1014, allocations: 459.2 kB / 0.905 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003442/0.1017, allocations: 87.61 kB / 0.9051 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.1021, allocations: 193.2 kB / 0.9053 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/0.1021, allocations: 0 / 0.9053 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of Templates: time 0.03314/0.1352, allocations: 26.28 MB / 0.931 GB, free: 14.29 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.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.6772127682343125]