Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.002057/0.002057, allocations: 106 kB / 16.45 MB, free: 6.453 MB / 14.72 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.002441/0.002441, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.267/3.267, allocations: 0.4899 GB / 0.7915 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.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_12_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_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 66.27 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3779, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.006049/0.384, allocations: 3.316 MB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003997/0.388, allocations: 2.076 MB / 1.327 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.3882, allocations: 11.88 kB / 1.327 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.3893, allocations: 302.8 kB / 1.327 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006936/0.39, allocations: 235 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008404/0.3908, allocations: 291.3 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005092/0.3913, allocations: 406.7 kB / 1.328 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003605/0.3917, allocations: 172.2 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.392, allocations: 171.4 kB / 1.328 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.3924, allocations: 215.3 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.3924, allocations: 24 kB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004876/0.3929, allocations: 271.5 kB / 1.329 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.393, allocations: 123.7 kB / 1.329 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.3932, allocations: 151.2 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007162/0.3939, allocations: 490.2 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3939, allocations: 0 / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3939, allocations: 3.938 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.3939, allocations: 0 / 1.329 GB, free: 10.61 MB / 1.029 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.001297/0.3952, allocations: 0.6093 MB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3953, allocations: 11.98 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.3963, allocations: 116.6 kB / 1.33 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000407/0.3967, allocations: 281.2 kB / 1.33 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.3967, allocations: 20.92 kB / 1.33 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.3968, allocations: 28.75 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007686/0.3976, allocations: 461 kB / 1.331 GB, free: 8.977 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.3976, allocations: 3.953 kB / 1.331 GB, free: 8.973 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.3977, allocations: 11.98 kB / 1.331 GB, free: 8.961 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/0.3978, allocations: 44.53 kB / 1.331 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006795/0.3985, allocations: 369.8 kB / 1.331 GB, free: 8.555 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.4014, allocations: 2.207 MB / 1.333 GB, free: 6.152 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.4018, allocations: 254.4 kB / 1.334 GB, free: 5.895 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.402, allocations: 140.7 kB / 1.334 GB, free: 5.754 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.4021, allocations: 7.938 kB / 1.334 GB, free: 5.746 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.4021, allocations: 38.55 kB / 1.334 GB, free: 5.699 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 2.415e-06/0.4021, allocations: 4 kB / 1.334 GB, free: 5.695 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.001969/0.4041, allocations: 1.06 MB / 1.335 GB, free: 4.566 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.4041, allocations: 55.41 kB / 1.335 GB, free: 4.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.4045, allocations: 268.9 kB / 1.335 GB, free: 4.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.4045, allocations: 29.7 kB / 1.335 GB, free: 4.195 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.4047, allocations: 188.4 kB / 1.335 GB, free: 4.008 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.4047, allocations: 87.27 kB / 1.335 GB, free: 3.922 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.4049, allocations: 77.62 kB / 1.335 GB, free: 3.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4051, allocations: 330.8 kB / 1.336 GB, free: 3.508 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.4054, allocations: 159.8 kB / 1.336 GB, free: 3.352 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.4057, allocations: 241.6 kB / 1.336 GB, free: 3.078 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000635/0.4064, allocations: 410.9 kB / 1.337 GB, free: 2.645 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4064, allocations: 0 / 1.337 GB, free: 2.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001306/0.4077, allocations: 0.5973 MB / 1.337 GB, free: 2.039 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4077, allocations: 4 kB / 1.337 GB, free: 2.035 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4077, allocations: 4 kB / 1.337 GB, free: 2.031 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/0.4085, allocations: 196.7 kB / 1.337 GB, free: 1.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.4088, allocations: 59.89 kB / 1.337 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/0.412, allocations: 2.509 MB / 1.34 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.4124, allocations: 23.98 kB / 1.34 GB, free: 15.1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.4125, allocations: 15.98 kB / 1.34 GB, free: 15.08 MB / 1.045 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.000216/0.4127, allocations: 161 kB / 1.34 GB, free: 14.92 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.4127, allocations: 35.78 kB / 1.34 GB, free: 14.88 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006154/0.4134, allocations: 361.5 kB / 1.34 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.4134, allocations: 3.984 kB / 1.34 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.4134, allocations: 0 / 1.34 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4134, allocations: 0 / 1.34 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.4146, allocations: 0.8161 MB / 1.341 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4146, allocations: 0 / 1.341 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000417/0.415, allocations: 79.94 kB / 1.341 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.415, allocations: 0 / 1.341 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/0.415, allocations: 8 kB / 1.341 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.415, allocations: 0 / 1.341 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.415, allocations: 0 / 1.341 GB, free: 13.56 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008133/0.4158, allocations: 0.6121 MB / 1.342 GB, free: 12.93 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.416, allocations: 137 kB / 1.342 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.416, allocations: 0 / 1.342 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.4163, allocations: 19.92 kB / 1.342 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.4163, allocations: 23.91 kB / 1.342 GB, free: 12.73 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.4163, allocations: 7.938 kB / 1.342 GB, free: 12.72 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000264/0.4166, allocations: 188.5 kB / 1.342 GB, free: 12.54 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4166, allocations: 0 / 1.342 GB, free: 12.54 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004393/0.417, allocations: 92 kB / 1.342 GB, free: 12.45 MB / 1.045 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.0001735/0.4172, allocations: 107.2 kB / 1.342 GB, free: 12.33 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.4183, allocations: 0.5104 MB / 1.343 GB, free: 11.81 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4183, allocations: 0 / 1.343 GB, free: 11.81 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.4185, allocations: 139.9 kB / 1.343 GB, free: 11.67 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.419, allocations: 57.47 kB / 1.343 GB, free: 11.62 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.4206, allocations: 0.8342 MB / 1.344 GB, free: 10.75 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.4211, allocations: 0.8067 MB / 1.345 GB, free: 9.922 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002363/0.4214, allocations: 74.91 kB / 1.345 GB, free: 9.848 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.4215, allocations: 23.44 kB / 1.345 GB, free: 9.824 MB / 1.045 GB Notification: Performance of SimCode: time 6.01e-07/0.4215, allocations: 0 / 1.345 GB, free: 9.824 MB / 1.045 GB Notification: Performance of Templates: time 0.00951/0.431, allocations: 4.232 MB / 1.349 GB, free: 5.617 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.108228575903922]