Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.001673/0.001673, allocations: 83.58 kB / 19.76 MB, free: 2.016 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.001952/0.001952, allocations: 153.8 kB / 23.01 MB, free: 4.973 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.511/1.511, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.732/2.732, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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_11_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_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [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.002116/0.002116, allocations: 67.89 kB / 0.9515 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.4671, allocations: 169.9 MB / 1.117 GB, free: 2.609 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005829/0.473, allocations: 3.068 MB / 1.12 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003674/0.4766, allocations: 1.877 MB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.4768, allocations: 11.94 kB / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.4778, allocations: 282.9 kB / 1.123 GB, free: 13.35 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.4783, allocations: 191.1 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.479, allocations: 255.2 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004707/0.4795, allocations: 330.9 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003559/0.4798, allocations: 145.1 kB / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.4801, allocations: 143.5 kB / 1.124 GB, free: 12.3 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.4804, allocations: 147.4 kB / 1.124 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.898e-05/0.4804, allocations: 20 kB / 1.124 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006682/0.4811, allocations: 379.2 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.4812, allocations: 83.73 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.4814, allocations: 103.6 kB / 1.124 GB, free: 11.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007527/0.4821, allocations: 0.4983 MB / 1.125 GB, free: 11.08 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4821, allocations: 0 / 1.125 GB, free: 11.08 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.535e-06/0.4821, allocations: 0 / 1.125 GB, free: 11.08 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.976e-06/0.4822, allocations: 0 / 1.125 GB, free: 11.08 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001038/0.4832, allocations: 0.501 MB / 1.125 GB, free: 10.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.4832, allocations: 15.97 kB / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008412/0.4841, allocations: 112.6 kB / 1.125 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.4845, allocations: 202.2 kB / 1.126 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.4845, allocations: 16.86 kB / 1.126 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.4845, allocations: 20.38 kB / 1.126 GB, free: 10.17 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006674/0.4852, allocations: 408.8 kB / 1.126 GB, free: 9.734 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.4852, allocations: 0 / 1.126 GB, free: 9.734 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.4852, allocations: 8 kB / 1.126 GB, free: 9.727 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/0.4853, allocations: 24.48 kB / 1.126 GB, free: 9.703 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.4858, allocations: 293.8 kB / 1.126 GB, free: 9.414 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.4879, allocations: 1.222 MB / 1.127 GB, free: 8.133 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005129/0.4884, allocations: 245 kB / 1.128 GB, free: 7.875 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.4886, allocations: 101.7 kB / 1.128 GB, free: 7.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.057e-05/0.4887, allocations: 16.27 kB / 1.128 GB, free: 7.754 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.4887, allocations: 38.5 kB / 1.128 GB, free: 7.707 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.4887, allocations: 0 / 1.128 GB, free: 7.707 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.002547/0.4913, allocations: 0.8992 MB / 1.129 GB, free: 6.793 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.4913, allocations: 85.14 kB / 1.129 GB, free: 6.691 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.4916, allocations: 213.1 kB / 1.129 GB, free: 6.473 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.4916, allocations: 25.7 kB / 1.129 GB, free: 6.441 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.4917, allocations: 180.4 kB / 1.129 GB, free: 6.262 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.674e-05/0.4918, allocations: 83.25 kB / 1.129 GB, free: 6.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.4919, allocations: 61.66 kB / 1.129 GB, free: 6.113 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.4921, allocations: 334.9 kB / 1.13 GB, free: 5.777 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.4923, allocations: 135.7 kB / 1.13 GB, free: 5.645 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.4926, allocations: 209.3 kB / 1.13 GB, free: 5.406 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.4931, allocations: 366 kB / 1.13 GB, free: 5.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4932, allocations: 0 / 1.13 GB, free: 5.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009123/0.4941, allocations: 0.5043 MB / 1.131 GB, free: 4.496 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4941, allocations: 8 kB / 1.131 GB, free: 4.488 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4941, allocations: 0 / 1.131 GB, free: 4.488 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/0.4946, allocations: 159.6 kB / 1.131 GB, free: 4.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.4949, allocations: 63.89 kB / 1.131 GB, free: 4.258 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003654/0.4986, allocations: 3.933 MB / 1.135 GB, free: 68 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.4988, allocations: 15.98 kB / 1.135 GB, free: 52 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.4988, allocations: 19.98 kB / 1.135 GB, free: 32 kB / 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): 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.7716/1.27, allocations: 154.8 kB / 1.135 GB, free: 57.77 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/1.271, allocations: 31.19 kB / 1.135 GB, free: 57.77 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009875/1.272, allocations: 459 kB / 1.136 GB, free: 57.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/1.272, allocations: 2.812 kB / 1.136 GB, free: 57.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.272, allocations: 6.75 kB / 1.136 GB, free: 57.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.272, allocations: 3.375 kB / 1.136 GB, free: 57.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/1.273, allocations: 0.8944 MB / 1.136 GB, free: 57.38 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.273, allocations: 2.562 kB / 1.136 GB, free: 57.38 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/1.273, allocations: 34.25 kB / 1.136 GB, free: 57.38 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003635/1.273, allocations: 143.4 kB / 1.137 GB, free: 57.35 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/1.274, allocations: 6.188 kB / 1.137 GB, free: 57.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/1.275, allocations: 3.905 MB / 1.14 GB, free: 53.96 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.275, allocations: 2.844 kB / 1.14 GB, free: 53.96 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/1.276, allocations: 0.622 MB / 1.141 GB, free: 53.65 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/1.276, allocations: 49.08 kB / 1.141 GB, free: 53.65 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/1.276, allocations: 12.88 kB / 1.141 GB, free: 53.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/1.276, allocations: 18.2 kB / 1.141 GB, free: 53.65 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/1.277, allocations: 25.75 kB / 1.141 GB, free: 53.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/1.277, allocations: 12.84 kB / 1.141 GB, free: 53.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001203/1.277, allocations: 152.2 kB / 1.141 GB, free: 53.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.277, allocations: 0 / 1.141 GB, free: 53.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005167/1.277, allocations: 95.84 kB / 1.141 GB, free: 53.57 MB / 1.076 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.0002085/1.277, allocations: 139.2 kB / 1.142 GB, free: 53.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008121/1.278, allocations: 0.5685 MB / 1.142 GB, free: 53.25 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.278, allocations: 0 / 1.142 GB, free: 53.25 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004381/1.279, allocations: 400.2 kB / 1.142 GB, free: 52.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/1.279, allocations: 40.94 kB / 1.143 GB, free: 52.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/1.28, allocations: 0.636 MB / 1.143 GB, free: 52.61 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/1.28, allocations: 176 kB / 1.143 GB, free: 52.52 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001559/1.281, allocations: 55.94 kB / 1.143 GB, free: 52.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/1.281, allocations: 25.06 kB / 1.143 GB, free: 52.51 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/1.281, allocations: 0 / 1.143 GB, free: 52.51 MB / 1.076 GB Notification: Performance of Templates: time 0.008351/1.289, allocations: 4.174 MB / 1.147 GB, free: 52.17 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.736944375094026]