Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.0008808/0.0008808, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008961/0.0008961, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8631/0.8631, allocations: 177.2 MB / 203.5 MB, free: 5.727 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 1.712/1.712, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 3.938 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.522e-05, allocations: 10.22 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003852/0.003878, allocations: 4.086 MB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002179/0.006057, allocations: 2.298 MB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.006219, allocations: 23.75 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006989/0.006918, allocations: 374.2 kB / 1.008 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.007378, allocations: 397.7 kB / 1.008 GB, free: 5.777 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.007754, allocations: 326.7 kB / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.008312, allocations: 0.6945 MB / 1.009 GB, free: 4.762 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.00863, allocations: 249.9 kB / 1.009 GB, free: 4.512 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003381/0.008968, allocations: 359 kB / 1.009 GB, free: 4.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.009218, allocations: 251.3 kB / 1.01 GB, free: 3.914 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/0.009252, allocations: 28 kB / 1.01 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.009586, allocations: 386.9 kB / 1.01 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.009702, allocations: 155.5 kB / 1.01 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.009813, allocations: 159.6 kB / 1.01 GB, free: 3.199 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005696/0.01038, allocations: 0.7553 MB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.01039, allocations: 0 / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01039, allocations: 4 kB / 1.011 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.01039, allocations: 0 / 1.011 GB, free: 2.438 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0007502/0.01114, allocations: 0.7188 MB / 1.012 GB, free: 1.684 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.01118, allocations: 13.34 kB / 1.012 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006849/0.01187, allocations: 192.4 kB / 1.012 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.01226, allocations: 372.8 kB / 1.012 GB, free: 1.094 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.01228, allocations: 33.36 kB / 1.012 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.01233, allocations: 36.33 kB / 1.012 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.01291, allocations: 0.7304 MB / 1.013 GB, free: 192 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.01293, allocations: 8.125 kB / 1.013 GB, free: 184 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.01296, allocations: 16.36 kB / 1.013 GB, free: 168 kB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.965e-05/0.01301, allocations: 51.91 kB / 1.013 GB, free: 116 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004661/0.01347, allocations: 0.4915 MB / 1.014 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.01524, allocations: 3.122 MB / 1.017 GB, free: 12.37 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/0.01613, allocations: 0.597 MB / 1.017 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.01628, allocations: 170.4 kB / 1.018 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.01629, allocations: 7.938 kB / 1.018 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.01631, allocations: 34.56 kB / 1.018 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/0.01632, allocations: 0 / 1.018 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.001271/0.01759, allocations: 1.063 MB / 1.019 GB, free: 10.44 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.01763, allocations: 110.8 kB / 1.019 GB, free: 10.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.01788, allocations: 385.4 kB / 1.019 GB, free: 9.918 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.0179, allocations: 31.39 kB / 1.019 GB, free: 9.883 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.01802, allocations: 288.1 kB / 1.019 GB, free: 9.598 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.859e-05/0.01808, allocations: 123 kB / 1.02 GB, free: 9.477 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.01816, allocations: 106.2 kB / 1.02 GB, free: 9.367 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.01826, allocations: 346.8 kB / 1.02 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.01843, allocations: 181.2 kB / 1.02 GB, free: 8.84 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.01867, allocations: 380.1 kB / 1.02 GB, free: 8.379 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.01912, allocations: 0.5835 MB / 1.021 GB, free: 7.703 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01912, allocations: 4 kB / 1.021 GB, free: 7.699 MB / 0.9792 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006368/0.01976, allocations: 0.6709 MB / 1.022 GB, free: 7.012 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.01978, allocations: 8 kB / 1.022 GB, free: 7.004 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.01979, allocations: 8 kB / 1.022 GB, free: 6.996 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002185/0.02001, allocations: 107.2 kB / 1.022 GB, free: 6.883 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.0202, allocations: 115.8 kB / 1.022 GB, free: 6.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.02212, allocations: 3.958 MB / 1.026 GB, free: 2.504 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.02227, allocations: 27.97 kB / 1.026 GB, free: 2.477 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.0223, allocations: 24 kB / 1.026 GB, free: 2.453 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.02244, allocations: 197.9 kB / 1.026 GB, free: 2.25 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.0225, allocations: 51.64 kB / 1.026 GB, free: 2.199 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/0.02301, allocations: 0.5264 MB / 1.027 GB, free: 1.66 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.02301, allocations: 4 kB / 1.027 GB, free: 1.656 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.02301, allocations: 4 kB / 1.027 GB, free: 1.652 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.02302, allocations: 3.984 kB / 1.027 GB, free: 1.648 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009834/0.024, allocations: 1.158 MB / 1.028 GB, free: 424 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.024, allocations: 3.984 kB / 1.028 GB, free: 420 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.02412, allocations: 59.91 kB / 1.028 GB, free: 360 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001442/0.02426, allocations: 90.5 kB / 1.028 GB, free: 260 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.02428, allocations: 8 kB / 1.028 GB, free: 252 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.02604, allocations: 3.958 MB / 1.032 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.02604, allocations: 4 kB / 1.032 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.0266, allocations: 0.7667 MB / 1.033 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.084e-05/0.0267, allocations: 71.69 kB / 1.033 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.02672, allocations: 15.94 kB / 1.033 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.02687, allocations: 19.98 kB / 1.033 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.02692, allocations: 39.81 kB / 1.033 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.02693, allocations: 12 kB / 1.033 GB, free: 11 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001678/0.0271, allocations: 259.5 kB / 1.033 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.0271, allocations: 4 kB / 1.033 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004004/0.0275, allocations: 120 kB / 1.033 GB, free: 10.62 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.02763, allocations: 119.1 kB / 1.033 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007468/0.02838, allocations: 0.7734 MB / 1.034 GB, free: 9.684 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02838, allocations: 0 / 1.034 GB, free: 9.684 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.02872, allocations: 0.5403 MB / 1.034 GB, free: 9.105 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.02927, allocations: 127.3 kB / 1.035 GB, free: 8.984 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009424/0.03021, allocations: 0.9526 MB / 1.035 GB, free: 7.961 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.03039, allocations: 264.3 kB / 1.036 GB, free: 7.68 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.03047, allocations: 36.5 kB / 1.036 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of SimCode: time 5.71e-07/0.03047, allocations: 0 / 1.036 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of Templates: time 0.00817/0.03864, allocations: 11.21 MB / 1.047 GB, free: 12.46 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.636224083602428]