Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001327/0.001327, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001359/0.001359, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.409/1.409, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.969/2.969, allocations: 496.2 MB / 0.7819 GB, free: 12.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.89 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138/1.14, allocations: 173.6 MB / 1.305 GB, free: 33.4 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005674/1.146, allocations: 3.384 MB / 1.309 GB, free: 31.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003503/1.149, allocations: 2.079 MB / 1.311 GB, free: 29.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/1.149, allocations: 6.938 kB / 1.311 GB, free: 29.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009975/1.15, allocations: 302 kB / 1.311 GB, free: 29.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006336/1.151, allocations: 235.3 kB / 1.311 GB, free: 29.47 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008214/1.152, allocations: 292.5 kB / 1.312 GB, free: 29.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005068/1.152, allocations: 419.8 kB / 1.312 GB, free: 29.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003642/1.153, allocations: 143.8 kB / 1.312 GB, free: 29.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/1.153, allocations: 168.1 kB / 1.312 GB, free: 29.03 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004172/1.153, allocations: 214.1 kB / 1.312 GB, free: 28.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/1.153, allocations: 23.5 kB / 1.312 GB, free: 28.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000544/1.154, allocations: 265 kB / 1.313 GB, free: 28.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/1.154, allocations: 135.4 kB / 1.313 GB, free: 28.81 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000159/1.154, allocations: 142.7 kB / 1.313 GB, free: 28.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006897/1.155, allocations: 486.7 kB / 1.313 GB, free: 28.57 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.155, allocations: 0 / 1.313 GB, free: 28.57 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.973e-06/1.155, allocations: 0 / 1.313 GB, free: 28.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.077e-06/1.155, allocations: 3.938 kB / 1.313 GB, free: 28.57 MB / 1.061 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.001235/1.156, allocations: 0.6068 MB / 1.314 GB, free: 28.06 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/1.156, allocations: 13.31 kB / 1.314 GB, free: 28.06 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/1.158, allocations: 117.3 kB / 1.314 GB, free: 28.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/1.158, allocations: 280.9 kB / 1.314 GB, free: 27.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/1.158, allocations: 21.48 kB / 1.314 GB, free: 27.78 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/1.158, allocations: 45.69 kB / 1.315 GB, free: 27.76 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008199/1.159, allocations: 452.3 kB / 1.315 GB, free: 27.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/1.159, allocations: 0 / 1.315 GB, free: 27.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/1.159, allocations: 18.28 kB / 1.315 GB, free: 27.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/1.159, allocations: 39.27 kB / 1.315 GB, free: 27.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007555/1.16, allocations: 359.5 kB / 1.315 GB, free: 27.4 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/1.163, allocations: 2.227 MB / 1.318 GB, free: 25.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/1.163, allocations: 242.7 kB / 1.318 GB, free: 25.44 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/1.163, allocations: 146.5 kB / 1.318 GB, free: 25.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/1.163, allocations: 2.5 kB / 1.318 GB, free: 25.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/1.163, allocations: 41.31 kB / 1.318 GB, free: 25.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 2.605e-06/1.163, allocations: 0 / 1.318 GB, free: 25.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.002042/1.165, allocations: 1.053 MB / 1.319 GB, free: 24.7 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/1.166, allocations: 58 kB / 1.319 GB, free: 24.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/1.166, allocations: 255.2 kB / 1.319 GB, free: 24.48 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/1.166, allocations: 31.89 kB / 1.319 GB, free: 24.45 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/1.166, allocations: 188.5 kB / 1.319 GB, free: 24.29 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.23e-05/1.166, allocations: 95.16 kB / 1.32 GB, free: 24.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/1.166, allocations: 79.42 kB / 1.32 GB, free: 24.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/1.166, allocations: 334.5 kB / 1.32 GB, free: 23.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/1.167, allocations: 160.4 kB / 1.32 GB, free: 23.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/1.167, allocations: 247.7 kB / 1.32 GB, free: 23.63 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006309/1.168, allocations: 407.4 kB / 1.321 GB, free: 23.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.168, allocations: 0 / 1.321 GB, free: 23.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001395/1.169, allocations: 0.606 MB / 1.321 GB, free: 23.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.169, allocations: 5.25 kB / 1.321 GB, free: 23.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.169, allocations: 6.609 kB / 1.321 GB, free: 23.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008087/1.17, allocations: 185.1 kB / 1.322 GB, free: 23.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/1.17, allocations: 72.67 kB / 1.322 GB, free: 23.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/1.173, allocations: 2.496 MB / 1.324 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/1.174, allocations: 21.27 kB / 1.324 GB, free: 21.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/1.174, allocations: 15.28 kB / 1.324 GB, free: 21.27 MB / 1.061 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.0002181/1.174, allocations: 169.6 kB / 1.324 GB, free: 21.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-05/1.174, allocations: 27.08 kB / 1.324 GB, free: 21.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006714/1.175, allocations: 358.3 kB / 1.325 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.175, allocations: 2.812 kB / 1.325 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/1.175, allocations: 0 / 1.325 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.175, allocations: 2.906 kB / 1.325 GB, free: 20.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/1.176, allocations: 0.808 MB / 1.325 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.176, allocations: 6.969 kB / 1.325 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/1.177, allocations: 76.3 kB / 1.325 GB, free: 20.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/1.177, allocations: 6.375 kB / 1.325 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/1.177, allocations: 2.25 kB / 1.325 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.177, allocations: 2.531 kB / 1.325 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/1.177, allocations: 2.625 kB / 1.325 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/1.178, allocations: 0.6151 MB / 1.326 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/1.178, allocations: 129.7 kB / 1.326 GB, free: 19.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.986e-05/1.178, allocations: 10.41 kB / 1.326 GB, free: 19.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/1.178, allocations: 17.91 kB / 1.326 GB, free: 19.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/1.178, allocations: 18.48 kB / 1.326 GB, free: 19.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/1.178, allocations: 11.55 kB / 1.326 GB, free: 19.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002832/1.179, allocations: 187.1 kB / 1.326 GB, free: 19.85 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.179, allocations: 5.531 kB / 1.326 GB, free: 19.85 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007237/1.179, allocations: 84.81 kB / 1.327 GB, free: 19.84 MB / 1.061 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.0001656/1.179, allocations: 111.7 kB / 1.327 GB, free: 19.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00106/1.18, allocations: 0.5151 MB / 1.327 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.18, allocations: 0.5312 kB / 1.327 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/1.181, allocations: 139.3 kB / 1.327 GB, free: 19.44 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/1.181, allocations: 62.42 kB / 1.327 GB, free: 19.42 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/1.183, allocations: 0.8423 MB / 1.328 GB, free: 18.9 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/1.183, allocations: 0.8017 MB / 1.329 GB, free: 18.19 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002373/1.183, allocations: 77.8 kB / 1.329 GB, free: 18.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.252e-05/1.183, allocations: 22.56 kB / 1.329 GB, free: 18.17 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/1.183, allocations: 0 / 1.329 GB, free: 18.17 MB / 1.061 GB Notification: Performance of Templates: time 0.01189/1.195, allocations: 4.331 MB / 1.333 GB, free: 17.86 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.424440402537584]