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.001556/0.001556, allocations: 111.2 kB / 17.6 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.001586/0.001586, allocations: 186 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.426/1.426, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.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.786/2.786, allocations: 476.7 MB / 0.7629 GB, free: 15.22 MB / 0.6075 GB " [Timeout remaining time 176] 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.001957/0.001957, allocations: 75.88 kB / 1.107 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098/1.1, allocations: 168.7 MB / 1.272 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004708/1.104, allocations: 3.389 MB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002973/1.107, allocations: 2.072 MB / 1.277 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/1.107, allocations: 8.469 kB / 1.277 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008981/1.108, allocations: 312.5 kB / 1.278 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005101/1.109, allocations: 235.6 kB / 1.278 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006511/1.109, allocations: 287.8 kB / 1.278 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004366/1.11, allocations: 408.4 kB / 1.278 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/1.11, allocations: 148.4 kB / 1.279 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/1.11, allocations: 164.9 kB / 1.279 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/1.111, allocations: 213.5 kB / 1.279 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/1.111, allocations: 24.25 kB / 1.279 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/1.111, allocations: 274.5 kB / 1.279 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/1.111, allocations: 124.2 kB / 1.279 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/1.112, allocations: 148.3 kB / 1.28 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000684/1.112, allocations: 490.2 kB / 1.28 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.112, allocations: 1.094 kB / 1.28 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.345e-06/1.112, allocations: 0.5156 kB / 1.28 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.112, allocations: 0 / 1.28 GB, free: 3.109 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.0009957/1.113, allocations: 0.6133 MB / 1.281 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/1.113, allocations: 12.97 kB / 1.281 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009667/1.114, allocations: 112.6 kB / 1.281 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/1.115, allocations: 280.3 kB / 1.281 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/1.115, allocations: 27.28 kB / 1.281 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/1.115, allocations: 32.41 kB / 1.281 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007118/1.115, allocations: 461.3 kB / 1.281 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/1.115, allocations: 0 / 1.281 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/1.115, allocations: 7.094 kB / 1.281 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/1.116, allocations: 44.44 kB / 1.282 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/1.116, allocations: 365.5 kB / 1.282 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/1.118, allocations: 2.225 MB / 1.284 GB, free: 84 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/1.119, allocations: 241.4 kB / 1.284 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/1.119, allocations: 140.5 kB / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/1.119, allocations: 9.719 kB / 1.284 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/1.119, allocations: 37.72 kB / 1.284 GB, free: 15.88 MB / 1.014 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/1.119, allocations: 0 / 1.284 GB, free: 15.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=23): time 0.001886/1.121, allocations: 1.061 MB / 1.286 GB, free: 15.24 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/1.121, allocations: 55.16 kB / 1.286 GB, free: 15.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/1.121, allocations: 255.5 kB / 1.286 GB, free: 15.02 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/1.121, allocations: 29.7 kB / 1.286 GB, free: 14.99 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/1.122, allocations: 194.7 kB / 1.286 GB, free: 14.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/1.122, allocations: 86.62 kB / 1.286 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/1.122, allocations: 77.27 kB / 1.286 GB, free: 14.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.122, allocations: 336.3 kB / 1.286 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/1.122, allocations: 156.5 kB / 1.287 GB, free: 14.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/1.123, allocations: 250.4 kB / 1.287 GB, free: 14.17 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/1.123, allocations: 412.5 kB / 1.287 GB, free: 13.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.123, allocations: 1.062 kB / 1.287 GB, free: 13.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001253/1.124, allocations: 0.6009 MB / 1.288 GB, free: 13.69 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.124, allocations: 10.53 kB / 1.288 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/1.124, allocations: 2.656 kB / 1.288 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/1.125, allocations: 188.2 kB / 1.288 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/1.126, allocations: 63.89 kB / 1.288 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003327/1.129, allocations: 2.495 MB / 1.291 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/1.129, allocations: 25.39 kB / 1.291 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/1.129, allocations: 11.66 kB / 1.291 GB, free: 11.81 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.000233/1.13, allocations: 171.3 kB / 1.291 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/1.13, allocations: 32.55 kB / 1.291 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000621/1.13, allocations: 361 kB / 1.291 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/1.13, allocations: 6.906 kB / 1.291 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/1.13, allocations: 0 / 1.291 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.13, allocations: 1.406 kB / 1.291 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/1.131, allocations: 0.8145 MB / 1.292 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.131, allocations: 0 / 1.292 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/1.132, allocations: 73.72 kB / 1.292 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.132, allocations: 1.375 kB / 1.292 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/1.132, allocations: 9.328 kB / 1.292 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/1.132, allocations: 1.219 kB / 1.292 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.132, allocations: 7.906 kB / 1.292 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007974/1.133, allocations: 0.621 MB / 1.293 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/1.133, allocations: 128.3 kB / 1.293 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/1.133, allocations: 4.547 kB / 1.293 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/1.133, allocations: 20.23 kB / 1.293 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/1.133, allocations: 19.94 kB / 1.293 GB, free: 10.49 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/1.133, allocations: 4.141 kB / 1.293 GB, free: 10.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002437/1.133, allocations: 191.3 kB / 1.293 GB, free: 10.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.133, allocations: 0 / 1.293 GB, free: 10.38 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000452/1.134, allocations: 92.11 kB / 1.293 GB, free: 10.37 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.0001814/1.134, allocations: 111.3 kB / 1.293 GB, free: 10.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009842/1.135, allocations: 0.5059 MB / 1.294 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.135, allocations: 0 / 1.294 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/1.135, allocations: 142 kB / 1.294 GB, free: 9.977 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/1.136, allocations: 60.03 kB / 1.294 GB, free: 9.953 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/1.137, allocations: 0.8436 MB / 1.295 GB, free: 9.445 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/1.138, allocations: 0.7999 MB / 1.295 GB, free: 8.727 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002573/1.138, allocations: 80.61 kB / 1.296 GB, free: 8.707 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.561e-05/1.138, allocations: 28.48 kB / 1.296 GB, free: 8.695 MB / 1.014 GB Notification: Performance of SimCode: time 1.172e-06/1.138, allocations: 0 / 1.296 GB, free: 8.695 MB / 1.014 GB Notification: Performance of Templates: time 0.0111/1.149, allocations: 4.332 MB / 1.3 GB, free: 8.395 MB / 1.014 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.241977545432746]