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.001601/0.001601, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001418/0.001418, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.51/1.51, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.787/2.787, allocations: 377.9 MB / 0.6228 GB, free: 12.63 MB / 0.5919 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.002712/0.002712, allocations: 59.91 kB / 0.9819 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9641/0.9669, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004546/0.9714, allocations: 3.237 MB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.9741, allocations: 1.981 MB / 1.159 GB, free: 30.01 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.9742, allocations: 9.469 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007478/0.975, allocations: 297.7 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.9754, allocations: 245.6 kB / 1.16 GB, free: 29.71 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.976, allocations: 286.6 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.9763, allocations: 411.9 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.9765, allocations: 169 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.9767, allocations: 170.9 kB / 1.161 GB, free: 29.25 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.977, allocations: 197 kB / 1.161 GB, free: 29.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.9771, allocations: 26.31 kB / 1.161 GB, free: 29.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003404/0.9774, allocations: 241 kB / 1.161 GB, free: 29.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.9775, allocations: 124.9 kB / 1.161 GB, free: 29.06 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.9776, allocations: 122.6 kB / 1.161 GB, free: 29 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.978, allocations: 498.5 kB / 1.162 GB, free: 28.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.9781, allocations: 4 kB / 1.162 GB, free: 28.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.31e-07/0.9781, allocations: 0 / 1.162 GB, free: 28.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.9781, allocations: 0 / 1.162 GB, free: 28.84 MB / 1.076 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.0008707/0.9789, allocations: 0.5334 MB / 1.162 GB, free: 28.42 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.546e-05/0.979, allocations: 10.97 kB / 1.162 GB, free: 28.42 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008867/0.9798, allocations: 115.6 kB / 1.162 GB, free: 28.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/0.9801, allocations: 225.2 kB / 1.163 GB, free: 28.21 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.9801, allocations: 17.12 kB / 1.163 GB, free: 28.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.9803, allocations: 40.62 kB / 1.163 GB, free: 28.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/0.9809, allocations: 0.5225 MB / 1.163 GB, free: 27.87 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.9809, allocations: 0 / 1.163 GB, free: 27.87 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.9809, allocations: 17.77 kB / 1.163 GB, free: 27.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.9811, allocations: 36.83 kB / 1.163 GB, free: 27.85 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005535/0.9816, allocations: 366 kB / 1.164 GB, free: 27.73 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.9835, allocations: 1.595 MB / 1.165 GB, free: 26.57 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.9839, allocations: 246 kB / 1.165 GB, free: 26.46 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.9841, allocations: 141.8 kB / 1.165 GB, free: 26.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.9841, allocations: 7.031 kB / 1.165 GB, free: 26.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.9841, allocations: 37.31 kB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.9841, allocations: 0 / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.001556/0.9856, allocations: 0.9088 MB / 1.166 GB, free: 25.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.9857, allocations: 58.19 kB / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.9859, allocations: 251.4 kB / 1.167 GB, free: 25.69 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.9859, allocations: 29.7 kB / 1.167 GB, free: 25.65 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.986, allocations: 196.3 kB / 1.167 GB, free: 25.48 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.9861, allocations: 85.3 kB / 1.167 GB, free: 25.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.9862, allocations: 78.89 kB / 1.167 GB, free: 25.37 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.9862, allocations: 335 kB / 1.167 GB, free: 25.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.9865, allocations: 156 kB / 1.168 GB, free: 25 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.9868, allocations: 239.1 kB / 1.168 GB, free: 24.85 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.9872, allocations: 414.6 kB / 1.168 GB, free: 24.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9872, allocations: 0 / 1.168 GB, free: 24.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001026/0.9882, allocations: 0.5921 MB / 1.169 GB, free: 24.38 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.9883, allocations: 8.391 kB / 1.169 GB, free: 24.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.9883, allocations: 2.625 kB / 1.169 GB, free: 24.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/0.9889, allocations: 187.5 kB / 1.169 GB, free: 24.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.9892, allocations: 68.5 kB / 1.169 GB, free: 24.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.9914, allocations: 2.345 MB / 1.171 GB, free: 22.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.9918, allocations: 29.91 kB / 1.171 GB, free: 22.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.9918, allocations: 10.97 kB / 1.171 GB, free: 22.67 MB / 1.076 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.0001364/0.992, allocations: 168.3 kB / 1.171 GB, free: 22.52 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.992, allocations: 26.48 kB / 1.171 GB, free: 22.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005777/0.9926, allocations: 354.5 kB / 1.172 GB, free: 22.35 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.9926, allocations: 2.781 kB / 1.172 GB, free: 22.35 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.9926, allocations: 0 / 1.172 GB, free: 22.35 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.9926, allocations: 4.297 kB / 1.172 GB, free: 22.35 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.9938, allocations: 0.7117 MB / 1.173 GB, free: 21.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9938, allocations: 4.469 kB / 1.173 GB, free: 21.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004375/0.9942, allocations: 69.47 kB / 1.173 GB, free: 21.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.9942, allocations: 1.719 kB / 1.173 GB, free: 21.92 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.9943, allocations: 7.25 kB / 1.173 GB, free: 21.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.9943, allocations: 5.312 kB / 1.173 GB, free: 21.92 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.9943, allocations: 4.469 kB / 1.173 GB, free: 21.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008075/0.9951, allocations: 0.6063 MB / 1.173 GB, free: 21.59 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.9952, allocations: 52.89 kB / 1.173 GB, free: 21.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.9952, allocations: 9.312 kB / 1.173 GB, free: 21.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.9955, allocations: 14.5 kB / 1.173 GB, free: 21.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.9955, allocations: 18.19 kB / 1.173 GB, free: 21.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.9955, allocations: 9.594 kB / 1.173 GB, free: 21.55 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000201/0.9957, allocations: 175.4 kB / 1.173 GB, free: 21.45 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9957, allocations: 0 / 1.173 GB, free: 21.45 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004354/0.9962, allocations: 90.12 kB / 1.174 GB, free: 21.43 MB / 1.076 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.0001424/0.9963, allocations: 118.3 kB / 1.174 GB, free: 21.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009175/0.9972, allocations: 0.5143 MB / 1.174 GB, free: 21.08 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.9972, allocations: 1.969 kB / 1.174 GB, free: 21.08 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.9974, allocations: 141.8 kB / 1.174 GB, free: 21.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.9979, allocations: 50.14 kB / 1.174 GB, free: 21.02 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.9993, allocations: 0.8324 MB / 1.175 GB, free: 20.51 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.9994, allocations: 193.3 kB / 1.175 GB, free: 20.41 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002109/0.9997, allocations: 72.22 kB / 1.175 GB, free: 20.4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/0.9997, allocations: 22.81 kB / 1.175 GB, free: 20.39 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.9997, allocations: 0 / 1.175 GB, free: 20.39 MB / 1.076 GB Notification: Performance of Templates: time 0.009246/1.009, allocations: 4.181 MB / 1.18 GB, free: 19.93 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.276919728028588]