Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.0009153/0.0009153, allocations: 80.88 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.0009094/0.0009094, allocations: 181 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.9092/0.9092, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.368/2.368, allocations: 438.8 MB / 0.6826 GB, free: 13.6 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.OnePhase.Lines.Examples.ACLine_L,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.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.187e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005491/0.005512, allocations: 4.083 MB / 0.8426 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.008423, allocations: 1.559 MB / 0.8441 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003069/0.00873, allocations: 43.62 kB / 0.8441 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006529/0.009383, allocations: 194.6 kB / 0.8443 GB, free: 8.316 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0007107/0.01009, allocations: 405.5 kB / 0.8447 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.01073, allocations: 363.2 kB / 0.845 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.01219, allocations: 1.131 MB / 0.8462 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007054/0.0129, allocations: 0.5663 MB / 0.8467 GB, free: 5.863 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007405/0.01364, allocations: 0.6002 MB / 0.8473 GB, free: 5.262 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.01422, allocations: 434.8 kB / 0.8477 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-05/0.0143, allocations: 60 kB / 0.8478 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.01454, allocations: 131.8 kB / 0.8479 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.01481, allocations: 311.1 kB / 0.8482 GB, free: 4.344 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.01508, allocations: 267.3 kB / 0.8484 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007172/0.0158, allocations: 0.6617 MB / 0.8491 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.0158, allocations: 4 kB / 0.8491 GB, free: 3.414 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.01e-07/0.01581, allocations: 3.938 kB / 0.8491 GB, free: 3.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.01581, allocations: 0 / 0.8491 GB, free: 3.41 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001142/0.01696, allocations: 0.9036 MB / 0.85 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.017, allocations: 12.62 kB / 0.85 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009892/0.01799, allocations: 264.2 kB / 0.8502 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007249/0.01871, allocations: 0.5028 MB / 0.8507 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.01875, allocations: 45.69 kB / 0.8508 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.01885, allocations: 64.36 kB / 0.8508 GB, free: 1.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008431/0.0197, allocations: 0.7816 MB / 0.8516 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.01973, allocations: 16.06 kB / 0.8516 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-05/0.01979, allocations: 28.36 kB / 0.8516 GB, free: 0.6055 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-05/0.01988, allocations: 73.2 kB / 0.8517 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/0.02027, allocations: 256.6 kB / 0.852 GB, free: 288 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003305/0.02358, allocations: 3.865 MB / 0.8557 GB, free: 12.27 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.02397, allocations: 249.2 kB / 0.856 GB, free: 12.02 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.02438, allocations: 220.7 kB / 0.8562 GB, free: 11.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.02441, allocations: 11.94 kB / 0.8562 GB, free: 11.79 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.02443, allocations: 34.56 kB / 0.8562 GB, free: 11.75 MB / 0.823 GB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/0.02443, allocations: 0 / 0.8562 GB, free: 11.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=42): time 0.002176/0.02661, allocations: 0.8743 MB / 0.8571 GB, free: 10.85 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.02664, allocations: 59.39 kB / 0.8571 GB, free: 10.78 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.02694, allocations: 411 kB / 0.8575 GB, free: 10.36 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.02697, allocations: 33.7 kB / 0.8576 GB, free: 10.32 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.02715, allocations: 360.9 kB / 0.8579 GB, free: 9.969 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.02726, allocations: 162.5 kB / 0.8581 GB, free: 9.809 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.02739, allocations: 102.2 kB / 0.8582 GB, free: 9.699 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.02751, allocations: 370.6 kB / 0.8585 GB, free: 9.328 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.02763, allocations: 65.28 kB / 0.8586 GB, free: 9.266 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.02787, allocations: 281 kB / 0.8588 GB, free: 8.895 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.02829, allocations: 413.6 kB / 0.8592 GB, free: 8.395 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.0283, allocations: 8 kB / 0.8592 GB, free: 8.387 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001242/0.02954, allocations: 0.5583 MB / 0.8598 GB, free: 7.805 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.02956, allocations: 8 kB / 0.8598 GB, free: 7.797 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.02957, allocations: 8 kB / 0.8598 GB, free: 7.789 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006596/0.03023, allocations: 246.5 kB / 0.86 GB, free: 7.531 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.03038, allocations: 87.84 kB / 0.8601 GB, free: 7.445 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.03333, allocations: 5.404 MB / 0.8654 GB, free: 1.648 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.03347, allocations: 20 kB / 0.8654 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.03349, allocations: 27.98 kB / 0.8654 GB, free: 1.602 MB / 0.823 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.03362, allocations: 144.5 kB / 0.8656 GB, free: 1.449 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.03368, allocations: 47.95 kB / 0.8656 GB, free: 1.402 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005449/0.03422, allocations: 477.1 kB / 0.8661 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.03423, allocations: 4 kB / 0.8661 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.03423, allocations: 8 kB / 0.8661 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.03423, allocations: 3.984 kB / 0.8661 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.03544, allocations: 0.8761 MB / 0.867 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.03544, allocations: 0 / 0.867 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-05/0.03551, allocations: 31.98 kB / 0.867 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/0.03596, allocations: 242.6 kB / 0.8672 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.03597, allocations: 11.94 kB / 0.8672 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/0.03865, allocations: 5.384 MB / 0.8725 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.03865, allocations: 7.938 kB / 0.8725 GB, free: 9.883 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005662/0.03922, allocations: 0.5985 MB / 0.8731 GB, free: 9.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.03931, allocations: 75.62 kB / 0.8731 GB, free: 9.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.03935, allocations: 11.98 kB / 0.8732 GB, free: 9.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.03945, allocations: 11.94 kB / 0.8732 GB, free: 9.133 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.03951, allocations: 47.86 kB / 0.8732 GB, free: 9.086 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.03953, allocations: 8 kB / 0.8732 GB, free: 9.078 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001006/0.03963, allocations: 164.4 kB / 0.8734 GB, free: 8.918 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.03963, allocations: 4 kB / 0.8734 GB, free: 8.914 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006825/0.04031, allocations: 200 kB / 0.8736 GB, free: 8.719 MB / 0.8386 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001019/0.04041, allocations: 84.36 kB / 0.8737 GB, free: 8.629 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007148/0.04113, allocations: 0.8592 MB / 0.8745 GB, free: 7.719 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/0.04114, allocations: 8.5 kB / 0.8745 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.0416, allocations: 0.7119 MB / 0.8752 GB, free: 6.945 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.04207, allocations: 198.5 kB / 0.8754 GB, free: 6.758 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.04329, allocations: 1.143 MB / 0.8765 GB, free: 5.562 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.04342, allocations: 210.1 kB / 0.8767 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.04354, allocations: 65.03 kB / 0.8768 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.04375, allocations: 173.2 kB / 0.8769 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of SimCode: time 7.22e-07/0.04375, allocations: 4 kB / 0.8769 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of Templates: time 0.01257/0.05632, allocations: 11.06 MB / 0.8877 GB, free: 10.22 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.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.384464795235544]