Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001952/0.001952, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002242/0.002242, allocations: 186 kB / 20.78 MB, free: 1.547 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.533/1.533, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.738/2.738, allocations: 443.4 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.91 kB / 1.059 GB, free: 412 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4427/0.4447, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005736/0.4504, allocations: 3.18 MB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003902/0.4543, allocations: 1.987 MB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.4545, allocations: 7.938 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.4557, allocations: 294.9 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.4562, allocations: 195.1 kB / 1.222 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.4569, allocations: 239.3 kB / 1.222 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.4574, allocations: 322.9 kB / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.4577, allocations: 144.9 kB / 1.222 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.4579, allocations: 135.5 kB / 1.222 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.4583, allocations: 159.4 kB / 1.223 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.4583, allocations: 20 kB / 1.223 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000787/0.4591, allocations: 415.1 kB / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.4593, allocations: 87.8 kB / 1.223 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.4594, allocations: 119.4 kB / 1.223 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008192/0.4602, allocations: 494.3 kB / 1.224 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4602, allocations: 0 / 1.224 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4602, allocations: 4 kB / 1.224 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.4602, allocations: 0 / 1.224 GB, free: 7.578 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001171/0.4614, allocations: 0.5607 MB / 1.224 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4615, allocations: 8.031 kB / 1.224 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009272/0.4624, allocations: 120.6 kB / 1.224 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.4628, allocations: 269.9 kB / 1.225 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.4628, allocations: 12.81 kB / 1.225 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.4629, allocations: 28.3 kB / 1.225 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006217/0.4635, allocations: 345.5 kB / 1.225 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4635, allocations: 0 / 1.225 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.4635, allocations: 19.92 kB / 1.225 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/0.4636, allocations: 28.36 kB / 1.225 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/0.4641, allocations: 289.5 kB / 1.225 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.4668, allocations: 1.73 MB / 1.227 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005614/0.4674, allocations: 322.1 kB / 1.227 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.4675, allocations: 102 kB / 1.227 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.4677, allocations: 89.03 kB / 1.227 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.4677, allocations: 46.44 kB / 1.228 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.354e-06/0.4677, allocations: 0 / 1.228 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.00284/0.4706, allocations: 0.9632 MB / 1.228 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.4707, allocations: 85.05 kB / 1.229 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.4709, allocations: 223.8 kB / 1.229 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.471, allocations: 25.7 kB / 1.229 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.4712, allocations: 172.5 kB / 1.229 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.406e-05/0.4713, allocations: 91.25 kB / 1.229 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.4714, allocations: 57.7 kB / 1.229 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.4716, allocations: 338.8 kB / 1.229 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.4718, allocations: 127.9 kB / 1.23 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.4721, allocations: 214.4 kB / 1.23 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005164/0.4726, allocations: 363.8 kB / 1.23 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4726, allocations: 0 / 1.23 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000942/0.4735, allocations: 0.5138 MB / 1.231 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.4736, allocations: 4 kB / 1.231 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4736, allocations: 4 kB / 1.231 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/0.4741, allocations: 151.6 kB / 1.231 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.4744, allocations: 59.84 kB / 1.231 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/0.4787, allocations: 4.198 MB / 1.235 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.4789, allocations: 15.98 kB / 1.235 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.479, allocations: 8 kB / 1.235 GB, free: 11.2 MB / 0.9825 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.4792, allocations: 177.7 kB / 1.235 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.105e-05/0.4793, allocations: 19.86 kB / 1.235 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.4804, allocations: 464.5 kB / 1.236 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4804, allocations: 4 kB / 1.236 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.4804, allocations: 7.984 kB / 1.236 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4804, allocations: 0 / 1.236 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.4822, allocations: 0.9998 MB / 1.237 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4822, allocations: 7.938 kB / 1.237 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.4824, allocations: 35.91 kB / 1.237 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004201/0.4828, allocations: 139.5 kB / 1.237 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.4828, allocations: 12 kB / 1.237 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004094/0.4869, allocations: 4.162 MB / 1.241 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.4869, allocations: 8.016 kB / 1.241 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4879, allocations: 0.616 MB / 1.241 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.4881, allocations: 124.9 kB / 1.242 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/0.4882, allocations: 15.92 kB / 1.242 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.4884, allocations: 15.98 kB / 1.242 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.4885, allocations: 23.97 kB / 1.242 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.4885, allocations: 12 kB / 1.242 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002087/0.4887, allocations: 152.2 kB / 1.242 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4887, allocations: 0 / 1.242 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005547/0.4892, allocations: 95.86 kB / 1.242 GB, free: 3.602 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003126/0.4896, allocations: 137.4 kB / 1.242 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.4907, allocations: 0.5743 MB / 1.242 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4907, allocations: 0 / 1.242 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006004/0.4913, allocations: 393 kB / 1.243 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.4918, allocations: 48.62 kB / 1.243 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.4931, allocations: 0.6376 MB / 1.244 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007685/0.4939, allocations: 0.7831 MB / 1.244 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000246/0.4941, allocations: 66.22 kB / 1.244 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.4942, allocations: 23.44 kB / 1.244 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of SimCode: time 7.91e-07/0.4942, allocations: 0 / 1.244 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of Templates: time 0.01051/0.5047, allocations: 4.359 MB / 1.249 GB, free: 12.49 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.555738180875778]