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.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.001496/0.001496, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001602/0.001602, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.453/1.453, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.755/2.755, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.863e-06/1.863e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.656e-05, allocations: 2.281 kB / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.007829/0.007866, allocations: 3.193 MB / 0.9541 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005174/0.01304, allocations: 1.975 MB / 0.956 GB, free: 6.398 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.01331, allocations: 11.94 kB / 0.956 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.01476, allocations: 294.8 kB / 0.9563 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009269/0.01569, allocations: 242.6 kB / 0.9565 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.0168, allocations: 292.2 kB / 0.9568 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008836/0.01768, allocations: 426.6 kB / 0.9572 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005027/0.01818, allocations: 156.3 kB / 0.9574 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006352/0.01882, allocations: 227.4 kB / 0.9576 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006154/0.01943, allocations: 195.5 kB / 0.9578 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.422e-05/0.01953, allocations: 24 kB / 0.9578 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007263/0.02026, allocations: 251.3 kB / 0.958 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.0205, allocations: 123.7 kB / 0.9582 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.02075, allocations: 107.7 kB / 0.9583 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.022, allocations: 0.4985 MB / 0.9587 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.02201, allocations: 4 kB / 0.9588 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.013e-06/0.02201, allocations: 0 / 0.9588 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.916e-05/0.02204, allocations: 0 / 0.9588 GB, free: 3.59 MB / 0.8575 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.001885/0.02393, allocations: 0.5361 MB / 0.9593 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.02397, allocations: 8.031 kB / 0.9593 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.02566, allocations: 120.6 kB / 0.9594 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.02628, allocations: 218.7 kB / 0.9596 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.02632, allocations: 28.86 kB / 0.9596 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001852/0.0265, allocations: 36.69 kB / 0.9597 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.02774, allocations: 0.5147 MB / 0.9602 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.02777, allocations: 4.188 kB / 0.9602 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/0.02783, allocations: 11.94 kB / 0.9602 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000227/0.02805, allocations: 40.47 kB / 0.9602 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.02915, allocations: 361.7 kB / 0.9606 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003739/0.03289, allocations: 1.594 MB / 0.9621 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.03358, allocations: 246.4 kB / 0.9624 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/0.03393, allocations: 148.8 kB / 0.9625 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.03396, allocations: 4 kB / 0.9625 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.03399, allocations: 30.56 kB / 0.9625 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 2.184e-06/0.03399, allocations: 0 / 0.9625 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.002631/0.03662, allocations: 0.9026 MB / 0.9634 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.03668, allocations: 63.34 kB / 0.9635 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.03715, allocations: 248.1 kB / 0.9637 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.0372, allocations: 33.7 kB / 0.9637 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.03737, allocations: 180.4 kB / 0.9639 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.03749, allocations: 91.22 kB / 0.964 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.0377, allocations: 81.59 kB / 0.9641 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.03792, allocations: 330.8 kB / 0.9644 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004653/0.03839, allocations: 159.9 kB / 0.9646 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/0.03894, allocations: 249.8 kB / 0.9648 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009667/0.0399, allocations: 406.8 kB / 0.9652 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.03991, allocations: 4 kB / 0.9652 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001895/0.0418, allocations: 0.5973 MB / 0.9658 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.04183, allocations: 11.98 kB / 0.9658 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.04184, allocations: 0 / 0.9658 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.04287, allocations: 188.8 kB / 0.966 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.04335, allocations: 67.89 kB / 0.966 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.04724, allocations: 2.334 MB / 0.9683 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.04764, allocations: 32 kB / 0.9683 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.04768, allocations: 19.98 kB / 0.9684 GB, free: 9.301 MB / 0.8731 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.000205/0.04789, allocations: 165.8 kB / 0.9685 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.04795, allocations: 19.86 kB / 0.9685 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006122/0.04856, allocations: 366.1 kB / 0.9689 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.04857, allocations: 4 kB / 0.9689 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.04857, allocations: 4.047 kB / 0.9689 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.04858, allocations: 3.938 kB / 0.9689 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.04972, allocations: 0.7002 MB / 0.9696 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.04972, allocations: 4 kB / 0.9696 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004236/0.05015, allocations: 67.94 kB / 0.9696 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.05015, allocations: 8.062 kB / 0.9697 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.05018, allocations: 7.938 kB / 0.9697 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.026e-05/0.05019, allocations: 11.92 kB / 0.9697 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.05019, allocations: 0 / 0.9697 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/0.051, allocations: 0.6034 MB / 0.9703 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.05112, allocations: 47.81 kB / 0.9703 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.05117, allocations: 11.98 kB / 0.9703 GB, free: 7.215 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.05142, allocations: 15.98 kB / 0.9703 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.05147, allocations: 11.97 kB / 0.9703 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.05149, allocations: 12 kB / 0.9704 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000235/0.05173, allocations: 180 kB / 0.9705 GB, free: 7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7e-08/0.05173, allocations: 0 / 0.9705 GB, free: 7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004359/0.05216, allocations: 92 kB / 0.9706 GB, free: 6.91 MB / 0.8731 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.0001884/0.05235, allocations: 115.2 kB / 0.9707 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009889/0.05334, allocations: 0.508 MB / 0.9712 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.05334, allocations: 0 / 0.9712 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.05357, allocations: 139.9 kB / 0.9714 GB, free: 6.129 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.05403, allocations: 55.95 kB / 0.9714 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.05562, allocations: 0.7444 MB / 0.9721 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.05584, allocations: 185.8 kB / 0.9723 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.05607, allocations: 78.22 kB / 0.9724 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/0.05617, allocations: 24.48 kB / 0.9724 GB, free: 5 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/0.05617, allocations: 4 kB / 0.9724 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of Templates: time 0.01002/0.06619, allocations: 4.17 MB / 0.9765 GB, free: 0.8867 MB / 0.8731 GB " [Timeout remaining time 300] 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: 8.080377839505672]