Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001347/0.001347, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001401/0.001401, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.924/2.924, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002337/0.002337, allocations: 71.91 kB / 1.009 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9246/0.9269, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005352/0.9323, allocations: 3.071 MB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002938/0.9352, allocations: 1.877 MB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.9354, allocations: 3.688 kB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009312/0.9363, allocations: 290.7 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.9368, allocations: 203.6 kB / 1.192 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.9374, allocations: 255.3 kB / 1.192 GB, free: 12.6 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.9378, allocations: 321.2 kB / 1.192 GB, free: 12.46 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002935/0.9381, allocations: 148.3 kB / 1.193 GB, free: 12.39 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.9383, allocations: 137.8 kB / 1.193 GB, free: 12.33 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.9385, allocations: 148.6 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.9386, allocations: 20.78 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006148/0.9392, allocations: 383.2 kB / 1.193 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.9393, allocations: 84.5 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.9394, allocations: 103.2 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006807/0.9401, allocations: 0.4942 MB / 1.194 GB, free: 11.9 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9401, allocations: 0 / 1.194 GB, free: 11.9 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9401, allocations: 0 / 1.194 GB, free: 11.9 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.9401, allocations: 0.6562 kB / 1.194 GB, free: 11.9 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.0007727/0.9409, allocations: 0.4926 MB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.9409, allocations: 8.844 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007952/0.9417, allocations: 118.8 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.942, allocations: 204.2 kB / 1.195 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.9421, allocations: 13.58 kB / 1.195 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.9421, allocations: 20.56 kB / 1.195 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.9426, allocations: 404.5 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.9426, allocations: 1.125 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.9427, allocations: 10.22 kB / 1.195 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.9427, allocations: 26.05 kB / 1.195 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.9432, allocations: 293.4 kB / 1.195 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.9449, allocations: 1.231 MB / 1.197 GB, free: 10.04 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.9453, allocations: 238.2 kB / 1.197 GB, free: 9.922 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.9454, allocations: 107 kB / 1.197 GB, free: 9.867 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.151e-05/0.9455, allocations: 10.97 kB / 1.197 GB, free: 9.867 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.9455, allocations: 40.88 kB / 1.197 GB, free: 9.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.844e-06/0.9455, allocations: 0 / 1.197 GB, free: 9.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.002343/0.9479, allocations: 0.8957 MB / 1.198 GB, free: 9.465 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.9479, allocations: 84.27 kB / 1.198 GB, free: 9.367 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.9481, allocations: 213.6 kB / 1.198 GB, free: 9.223 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.9481, allocations: 31.62 kB / 1.198 GB, free: 9.188 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.445e-05/0.9482, allocations: 171 kB / 1.198 GB, free: 9.039 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.9482, allocations: 84.8 kB / 1.198 GB, free: 8.973 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.434e-05/0.9483, allocations: 64.48 kB / 1.198 GB, free: 8.934 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.9484, allocations: 330.8 kB / 1.199 GB, free: 8.613 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.9486, allocations: 134.6 kB / 1.199 GB, free: 8.562 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.9488, allocations: 215.2 kB / 1.199 GB, free: 8.418 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000425/0.9492, allocations: 370.4 kB / 1.2 GB, free: 8.195 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9492, allocations: 5.094 kB / 1.2 GB, free: 8.191 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008216/0.9501, allocations: 0.5087 MB / 1.2 GB, free: 7.949 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.9501, allocations: 6.469 kB / 1.2 GB, free: 7.949 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.9501, allocations: 2.125 kB / 1.2 GB, free: 7.949 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005067/0.9506, allocations: 156.7 kB / 1.2 GB, free: 7.883 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.9508, allocations: 57.14 kB / 1.2 GB, free: 7.879 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.9531, allocations: 3.923 MB / 1.204 GB, free: 4.207 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.9533, allocations: 19.41 kB / 1.204 GB, free: 4.203 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.9533, allocations: 14.62 kB / 1.204 GB, free: 4.199 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): 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.000153/0.9535, allocations: 165.9 kB / 1.204 GB, free: 4.055 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.9535, allocations: 26.02 kB / 1.204 GB, free: 4.039 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007844/0.9543, allocations: 478.6 kB / 1.205 GB, free: 3.805 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.9543, allocations: 2.594 kB / 1.205 GB, free: 3.805 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.9543, allocations: 5.156 kB / 1.205 GB, free: 3.801 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.9543, allocations: 7.156 kB / 1.205 GB, free: 3.797 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.9557, allocations: 0.8817 MB / 1.206 GB, free: 3.254 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.9557, allocations: 3.234 kB / 1.206 GB, free: 3.254 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.9558, allocations: 38.42 kB / 1.206 GB, free: 3.246 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003683/0.9562, allocations: 142.9 kB / 1.206 GB, free: 3.184 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.9562, allocations: 8.781 kB / 1.206 GB, free: 3.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/0.9583, allocations: 3.902 MB / 1.21 GB, free: 15.5 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9583, allocations: 1.688 kB / 1.21 GB, free: 15.5 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008627/0.9592, allocations: 0.6295 MB / 1.21 GB, free: 15.05 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.9593, allocations: 44.53 kB / 1.21 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.9594, allocations: 9.547 kB / 1.21 GB, free: 15.03 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.9596, allocations: 23.62 kB / 1.21 GB, free: 15.02 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.9597, allocations: 31.72 kB / 1.21 GB, free: 15.01 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.158e-05/0.9597, allocations: 7.656 kB / 1.21 GB, free: 15.01 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002142/0.9599, allocations: 160.2 kB / 1.21 GB, free: 14.91 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.9599, allocations: 0 / 1.21 GB, free: 14.91 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005631/0.9605, allocations: 94.66 kB / 1.211 GB, free: 14.89 MB / 1.092 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.0002256/0.9607, allocations: 134 kB / 1.211 GB, free: 14.79 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.9617, allocations: 0.5706 MB / 1.211 GB, free: 14.44 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9617, allocations: 0 / 1.211 GB, free: 14.44 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.9623, allocations: 396.8 kB / 1.212 GB, free: 14.16 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.9628, allocations: 50.33 kB / 1.212 GB, free: 14.14 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.9639, allocations: 0.6286 MB / 1.212 GB, free: 13.74 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.9641, allocations: 168 kB / 1.212 GB, free: 13.66 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.9643, allocations: 55.25 kB / 1.212 GB, free: 13.65 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.9643, allocations: 29.77 kB / 1.213 GB, free: 13.63 MB / 1.092 GB Notification: Performance of SimCode: time 4.01e-07/0.9643, allocations: 3.938 kB / 1.213 GB, free: 13.63 MB / 1.092 GB Notification: Performance of Templates: time 0.009292/0.9736, allocations: 4.15 MB / 1.217 GB, free: 13.16 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.888294746051542]