Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001893/0.001893, allocations: 100.4 kB / 19.7 MB, free: 2.141 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.002737/0.002737, allocations: 219.4 kB / 22.99 MB, free: 4.961 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.585/1.585, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.297/3.297, allocations: 0.4892 GB / 0.7951 GB, free: 35.54 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.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_12_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_12_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.002199/0.002199, allocations: 76.38 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4363, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005762/0.4421, allocations: 3.059 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003714/0.4458, allocations: 1.889 MB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.4459, allocations: 7.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.447, allocations: 278.9 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.4475, allocations: 195.1 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007508/0.4483, allocations: 255.3 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004321/0.4487, allocations: 326.9 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.4491, allocations: 145.1 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.4493, allocations: 135.5 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.4497, allocations: 151.3 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.4497, allocations: 24 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000711/0.4504, allocations: 383.2 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.4505, allocations: 87.72 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.4506, allocations: 95.59 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000771/0.4514, allocations: 0.4944 MB / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4514, allocations: 0 / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4514, allocations: 0 / 1.334 GB, free: 10.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.4514, allocations: 0 / 1.334 GB, free: 10.44 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00104/0.4525, allocations: 0.4971 MB / 1.334 GB, free: 9.914 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.4525, allocations: 8.031 kB / 1.334 GB, free: 9.906 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008447/0.4534, allocations: 108.7 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.4538, allocations: 218.8 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.4538, allocations: 12.81 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.4538, allocations: 16.38 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.4545, allocations: 408.5 kB / 1.335 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4545, allocations: 3.938 kB / 1.335 GB, free: 9.094 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.4545, allocations: 8 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.4546, allocations: 24.42 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005076/0.4551, allocations: 297.5 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.4573, allocations: 1.237 MB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.4577, allocations: 234.9 kB / 1.337 GB, free: 7.234 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.4579, allocations: 97.67 kB / 1.337 GB, free: 7.133 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.282e-05/0.458, allocations: 15.98 kB / 1.337 GB, free: 7.117 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.458, allocations: 46.44 kB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.983e-06/0.458, allocations: 0 / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002643/0.4607, allocations: 0.8934 MB / 1.338 GB, free: 6.152 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.649e-05/0.4608, allocations: 89.03 kB / 1.338 GB, free: 6.047 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.4611, allocations: 215.1 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.4611, allocations: 33.69 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.4613, allocations: 168.5 kB / 1.338 GB, free: 5.613 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.901e-05/0.4614, allocations: 87.27 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.4615, allocations: 61.66 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.4617, allocations: 334.8 kB / 1.339 GB, free: 5.125 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.4619, allocations: 123.9 kB / 1.339 GB, free: 5.004 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.4622, allocations: 217.2 kB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.4627, allocations: 370.8 kB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4627, allocations: 0 / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009271/0.4637, allocations: 0.5031 MB / 1.34 GB, free: 3.844 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.4637, allocations: 4.094 kB / 1.34 GB, free: 3.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4637, allocations: 7.938 kB / 1.34 GB, free: 3.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005608/0.4643, allocations: 159.2 kB / 1.34 GB, free: 3.664 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.4645, allocations: 56.22 kB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00376/0.4683, allocations: 3.93 MB / 1.344 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.4685, allocations: 23.97 kB / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/0.4685, allocations: 12 kB / 1.344 GB, free: 15.39 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): 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.0002331/0.4688, allocations: 162.3 kB / 1.344 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/0.4689, allocations: 27.8 kB / 1.344 GB, free: 15.19 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009549/0.4698, allocations: 474.8 kB / 1.344 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4698, allocations: 4 kB / 1.344 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-06/0.4698, allocations: 3.938 kB / 1.344 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.4698, allocations: 7.984 kB / 1.344 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.4715, allocations: 0.8748 MB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.413e-06/0.4715, allocations: 4 kB / 1.345 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.4716, allocations: 35.91 kB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004221/0.4721, allocations: 143.2 kB / 1.345 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.4721, allocations: 8.25 kB / 1.345 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003452/0.4755, allocations: 3.904 MB / 1.349 GB, free: 9.387 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4755, allocations: 4 kB / 1.349 GB, free: 9.383 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/0.4765, allocations: 0.6263 MB / 1.35 GB, free: 8.703 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.4766, allocations: 47.83 kB / 1.35 GB, free: 8.656 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.4767, allocations: 8 kB / 1.35 GB, free: 8.648 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.4769, allocations: 19.97 kB / 1.35 GB, free: 8.629 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.4769, allocations: 31.81 kB / 1.35 GB, free: 8.598 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.477, allocations: 15.94 kB / 1.35 GB, free: 8.582 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001595/0.4771, allocations: 152.3 kB / 1.35 GB, free: 8.434 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4771, allocations: 0 / 1.35 GB, free: 8.434 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005601/0.4777, allocations: 95.92 kB / 1.35 GB, free: 8.34 MB / 1.045 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.0002392/0.4779, allocations: 135.1 kB / 1.35 GB, free: 8.195 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.479, allocations: 0.5662 MB / 1.351 GB, free: 7.605 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.479, allocations: 4 kB / 1.351 GB, free: 7.602 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005671/0.4796, allocations: 395.7 kB / 1.351 GB, free: 7.191 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.4801, allocations: 49.61 kB / 1.351 GB, free: 7.145 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.4814, allocations: 0.6722 MB / 1.352 GB, free: 6.426 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.4816, allocations: 177.2 kB / 1.352 GB, free: 6.23 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.4817, allocations: 19.44 kB / 1.352 GB, free: 6.211 MB / 1.045 GB Notification: Performance of SimCode: time 9.31e-07/0.4817, allocations: 0 / 1.352 GB, free: 6.211 MB / 1.045 GB Notification: Performance of Templates: time 0.01218/0.4938, allocations: 7.795 MB / 1.36 GB, free: 14.41 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.76195288496092]