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.001634/0.001634, allocations: 114.5 kB / 17.08 MB, free: 6.012 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.001674/0.001674, allocations: 194.2 kB / 20.03 MB, free: 3.082 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.509/1.509, allocations: 222.9 MB / 245.7 MB, free: 4.227 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 3.068/3.068, allocations: 489.3 MB / 0.7687 GB, free: 3.949 MB / 0.6075 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.002099/0.002099, allocations: 67.89 kB / 1.103 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.141, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006075/1.147, allocations: 3.273 MB / 1.266 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004007/1.151, allocations: 2.025 MB / 1.268 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/1.152, allocations: 4.594 kB / 1.268 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/1.153, allocations: 286.6 kB / 1.268 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008264/1.154, allocations: 233.8 kB / 1.268 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/1.155, allocations: 291.7 kB / 1.269 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007083/1.156, allocations: 411.6 kB / 1.269 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004814/1.156, allocations: 203.9 kB / 1.269 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002986/1.156, allocations: 163.7 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005493/1.157, allocations: 197.7 kB / 1.269 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/1.157, allocations: 24.41 kB / 1.269 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006957/1.158, allocations: 265 kB / 1.27 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/1.158, allocations: 120.6 kB / 1.27 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/1.158, allocations: 148.7 kB / 1.27 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008495/1.159, allocations: 494.4 kB / 1.27 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.159, allocations: 0.6562 kB / 1.27 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.966e-06/1.159, allocations: 0 / 1.27 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.159, allocations: 0 / 1.27 GB, free: 3.238 MB / 0.9981 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.001182/1.16, allocations: 0.6152 MB / 1.271 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/1.16, allocations: 9.156 kB / 1.271 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/1.161, allocations: 115.9 kB / 1.271 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/1.162, allocations: 289.8 kB / 1.271 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/1.162, allocations: 14.84 kB / 1.271 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/1.162, allocations: 32.81 kB / 1.271 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009086/1.163, allocations: 459.3 kB / 1.272 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/1.163, allocations: 12.55 kB / 1.272 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/1.163, allocations: 7.75 kB / 1.272 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001677/1.163, allocations: 43.05 kB / 1.272 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007702/1.164, allocations: 365.3 kB / 1.272 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/1.167, allocations: 2.217 MB / 1.275 GB, free: 208 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/1.167, allocations: 263.3 kB / 1.275 GB, free: 96 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/1.167, allocations: 166.5 kB / 1.275 GB, free: 28 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/1.167, allocations: 1.938 kB / 1.275 GB, free: 28 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/1.167, allocations: 36.59 kB / 1.275 GB, free: 15.98 MB / 1.014 GB Notification: Performance of pre-optimization done (n=22): time 1.914e-06/1.167, allocations: 0 / 1.275 GB, free: 15.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.002346/1.17, allocations: 1.068 MB / 1.276 GB, free: 15.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/1.17, allocations: 53.84 kB / 1.276 GB, free: 15.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/1.17, allocations: 249.5 kB / 1.276 GB, free: 15.12 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/1.17, allocations: 30.92 kB / 1.276 GB, free: 15.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/1.171, allocations: 191 kB / 1.276 GB, free: 14.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.301e-05/1.171, allocations: 90.09 kB / 1.277 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/1.171, allocations: 81.95 kB / 1.277 GB, free: 14.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001992/1.171, allocations: 336.2 kB / 1.277 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/1.171, allocations: 156 kB / 1.277 GB, free: 14.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/1.172, allocations: 247 kB / 1.277 GB, free: 14.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007725/1.173, allocations: 412.1 kB / 1.278 GB, free: 14.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.173, allocations: 5.281 kB / 1.278 GB, free: 14.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001548/1.174, allocations: 0.5998 MB / 1.278 GB, free: 13.79 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/1.174, allocations: 6.375 kB / 1.278 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.174, allocations: 6.484 kB / 1.278 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007982/1.175, allocations: 188.9 kB / 1.279 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/1.175, allocations: 66.97 kB / 1.279 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/1.179, allocations: 2.49 MB / 1.281 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/1.18, allocations: 30.83 kB / 1.281 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/1.18, allocations: 11.92 kB / 1.281 GB, free: 11.91 MB / 1.014 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.0002885/1.18, allocations: 169.4 kB / 1.281 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/1.18, allocations: 32.45 kB / 1.281 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/1.181, allocations: 354.8 kB / 1.282 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.181, allocations: 2.906 kB / 1.282 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/1.181, allocations: 0 / 1.282 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.181, allocations: 1.219 kB / 1.282 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/1.182, allocations: 0.8108 MB / 1.282 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/1.182, allocations: 2.094 kB / 1.282 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/1.183, allocations: 72.52 kB / 1.282 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.183, allocations: 1.719 kB / 1.282 GB, free: 11.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/1.183, allocations: 12.84 kB / 1.282 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/1.183, allocations: 1.438 kB / 1.282 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.183, allocations: 1.828 kB / 1.282 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009266/1.184, allocations: 0.6269 MB / 1.283 GB, free: 10.74 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/1.184, allocations: 127.3 kB / 1.283 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.81e-05/1.184, allocations: 8.156 kB / 1.283 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/1.184, allocations: 12.83 kB / 1.283 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/1.184, allocations: 24.95 kB / 1.283 GB, free: 10.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/1.184, allocations: 7.5 kB / 1.283 GB, free: 10.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002793/1.185, allocations: 188.4 kB / 1.283 GB, free: 10.49 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.11e-07/1.185, allocations: 0 / 1.283 GB, free: 10.49 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005086/1.185, allocations: 90.22 kB / 1.284 GB, free: 10.48 MB / 1.014 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.0002117/1.185, allocations: 116 kB / 1.284 GB, free: 10.38 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001166/1.187, allocations: 0.5304 MB / 1.284 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.187, allocations: 0 / 1.284 GB, free: 10.12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/1.187, allocations: 153.6 kB / 1.284 GB, free: 10.07 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/1.187, allocations: 69.06 kB / 1.284 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/1.189, allocations: 0.8708 MB / 1.285 GB, free: 9.492 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005699/1.19, allocations: 0.8015 MB / 1.286 GB, free: 8.777 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/1.19, allocations: 25.78 kB / 1.286 GB, free: 8.77 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/1.19, allocations: 0 / 1.286 GB, free: 8.77 MB / 1.014 GB Notification: Performance of Templates: time 0.01102/1.201, allocations: 4.571 MB / 1.291 GB, free: 8.395 MB / 1.014 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.865642132936046]