Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 71.88 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7299/0.732, allocations: 168.7 MB / 1.274 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005438/0.7375, allocations: 3.389 MB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003681/0.7411, allocations: 2.073 MB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.7413, allocations: 7.938 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.7423, allocations: 303.5 kB / 1.28 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005792/0.7429, allocations: 235 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.7437, allocations: 299.9 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000533/0.7442, allocations: 402.7 kB / 1.281 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.7445, allocations: 150.9 kB / 1.281 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.7448, allocations: 159.5 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000423/0.7452, allocations: 219.2 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.7453, allocations: 24 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/0.7457, allocations: 271.5 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.7459, allocations: 127.6 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.7461, allocations: 151.2 kB / 1.282 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006339/0.7467, allocations: 482.3 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.7467, allocations: 3.984 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7467, allocations: 0 / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.7467, allocations: 0 / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001181/0.7479, allocations: 0.6115 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.7479, allocations: 8.031 kB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/0.7489, allocations: 120.6 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.7494, allocations: 289.3 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.7494, allocations: 12.94 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.7495, allocations: 36.69 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007666/0.7503, allocations: 461 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.7503, allocations: 4 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.7504, allocations: 7.984 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.7505, allocations: 44.52 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006589/0.7512, allocations: 365.9 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.7541, allocations: 2.218 MB / 1.286 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004467/0.7545, allocations: 246.4 kB / 1.286 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.7547, allocations: 144.8 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.7548, allocations: 4 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.7548, allocations: 34.55 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.714e-06/0.7548, allocations: 0 / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.001953/0.7568, allocations: 1.057 MB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.7568, allocations: 55.41 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.7571, allocations: 260.9 kB / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.7572, allocations: 29.7 kB / 1.288 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.7573, allocations: 192.3 kB / 1.288 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.542e-05/0.7574, allocations: 91.27 kB / 1.288 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.7575, allocations: 81.62 kB / 1.288 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.7577, allocations: 330.8 kB / 1.289 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.758, allocations: 159.9 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.7584, allocations: 257.5 kB / 1.289 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/0.759, allocations: 402.8 kB / 1.289 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.759, allocations: 0 / 1.289 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001284/0.7603, allocations: 0.5977 MB / 1.29 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.7603, allocations: 8 kB / 1.29 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7603, allocations: 0 / 1.29 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007352/0.761, allocations: 196.9 kB / 1.29 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/0.7614, allocations: 67.89 kB / 1.29 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/0.7647, allocations: 2.499 MB / 1.293 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.7651, allocations: 23.98 kB / 1.293 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.7651, allocations: 20.05 kB / 1.293 GB, free: 0.8125 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002215/0.7654, allocations: 165.7 kB / 1.293 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.7654, allocations: 27.8 kB / 1.293 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006123/0.766, allocations: 358.3 kB / 1.293 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.766, allocations: 0 / 1.293 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.766, allocations: 3.938 kB / 1.293 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.766, allocations: 4 kB / 1.293 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.7673, allocations: 0.8199 MB / 1.294 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.7673, allocations: 0 / 1.294 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.7677, allocations: 75.88 kB / 1.294 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.7677, allocations: 0 / 1.294 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.7677, allocations: 8 kB / 1.294 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.7677, allocations: 0 / 1.294 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.7677, allocations: 4 kB / 1.294 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.7686, allocations: 0.6105 MB / 1.295 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.7688, allocations: 133 kB / 1.295 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.7688, allocations: 8 kB / 1.295 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.7691, allocations: 7.984 kB / 1.295 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.7691, allocations: 27.84 kB / 1.295 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.7691, allocations: 4 kB / 1.295 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002458/0.7694, allocations: 192.5 kB / 1.295 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.7694, allocations: 0 / 1.295 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004441/0.7698, allocations: 92 kB / 1.295 GB, free: 14.17 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.77, allocations: 103.8 kB / 1.295 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.771, allocations: 0.5159 MB / 1.296 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.771, allocations: 3.938 kB / 1.296 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.7713, allocations: 135.9 kB / 1.296 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.7717, allocations: 59.3 kB / 1.296 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.7733, allocations: 0.8467 MB / 1.297 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.7738, allocations: 0.7989 MB / 1.298 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002227/0.774, allocations: 82.91 kB / 1.298 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/0.7741, allocations: 23.44 kB / 1.298 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.7741, allocations: 3.938 kB / 1.298 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of Templates: time 0.008949/0.783, allocations: 4.332 MB / 1.302 GB, free: 7.223 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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: 8.609952860046178]