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.001396/0.001396, allocations: 106.1 kB / 16.45 MB, free: 6.453 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.001535/0.001535, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.478/1.478, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.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.788/2.788, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [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.002179/0.002179, allocations: 63.08 kB / 1.112 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3279, allocations: 169.9 MB / 1.278 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00519/0.3331, allocations: 3.139 MB / 1.281 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003424/0.3365, allocations: 2.006 MB / 1.283 GB, free: 56 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.3367, allocations: 4 kB / 1.283 GB, free: 52 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.3377, allocations: 283 kB / 1.284 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006282/0.3384, allocations: 207 kB / 1.284 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.3391, allocations: 251.2 kB / 1.284 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.3396, allocations: 322.9 kB / 1.284 GB, free: 15 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003543/0.34, allocations: 149 kB / 1.284 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.3403, allocations: 135.5 kB / 1.285 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.3406, allocations: 163.4 kB / 1.285 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.3407, allocations: 20 kB / 1.285 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007504/0.3414, allocations: 423.2 kB / 1.285 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.3415, allocations: 91.72 kB / 1.285 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.3417, allocations: 123.4 kB / 1.285 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008176/0.3425, allocations: 0.4904 MB / 1.286 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3425, allocations: 3.938 kB / 1.286 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3425, allocations: 0 / 1.286 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.3426, allocations: 0 / 1.286 GB, free: 13.42 MB / 0.9981 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.001067/0.3436, allocations: 0.5607 MB / 1.286 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3437, allocations: 8.031 kB / 1.286 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.427e-05/0.3437, allocations: 66.72 kB / 1.286 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008499/0.3446, allocations: 104.7 kB / 1.287 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.345, allocations: 275.8 kB / 1.287 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.345, allocations: 16.81 kB / 1.287 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.3451, allocations: 20.36 kB / 1.287 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006219/0.3457, allocations: 353.3 kB / 1.287 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3457, allocations: 0 / 1.287 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.3457, allocations: 11.98 kB / 1.287 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/0.3458, allocations: 24.42 kB / 1.287 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.3463, allocations: 293.5 kB / 1.287 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002478/0.3488, allocations: 1.737 MB / 1.289 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.3493, allocations: 314.1 kB / 1.289 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.3495, allocations: 101.6 kB / 1.29 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.3497, allocations: 97.09 kB / 1.29 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3497, allocations: 30.56 kB / 1.29 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.3497, allocations: 4 kB / 1.29 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002749/0.3525, allocations: 0.9756 MB / 1.291 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.3525, allocations: 89.05 kB / 1.291 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.3528, allocations: 211.8 kB / 1.291 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.3528, allocations: 29.7 kB / 1.291 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.353, allocations: 168.5 kB / 1.291 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.149e-05/0.353, allocations: 87.27 kB / 1.291 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.3532, allocations: 65.64 kB / 1.291 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3533, allocations: 330.9 kB / 1.292 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.3535, allocations: 135.9 kB / 1.292 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.3538, allocations: 209.8 kB / 1.292 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006083/0.3544, allocations: 371.1 kB / 1.292 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3544, allocations: 4 kB / 1.292 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009713/0.3554, allocations: 0.5006 MB / 1.293 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3554, allocations: 8 kB / 1.293 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.3554, allocations: 7.984 kB / 1.293 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.356, allocations: 147.3 kB / 1.293 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3562, allocations: 67.94 kB / 1.293 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003588/0.3598, allocations: 4.183 MB / 1.297 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.36, allocations: 24.17 kB / 1.297 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.3601, allocations: 15.98 kB / 1.297 GB, free: 0.9688 MB / 0.9981 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.0001858/0.3602, allocations: 164.7 kB / 1.297 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.3603, allocations: 19.86 kB / 1.297 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.3613, allocations: 479.9 kB / 1.298 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3613, allocations: 4 kB / 1.298 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3613, allocations: 0 / 1.298 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3613, allocations: 7.984 kB / 1.298 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.3631, allocations: 0.9985 MB / 1.299 GB, free: 15.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.3631, allocations: 8.25 kB / 1.299 GB, free: 15.19 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3633, allocations: 31.92 kB / 1.299 GB, free: 15.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004311/0.3637, allocations: 143.3 kB / 1.299 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.3637, allocations: 4 kB / 1.299 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003499/0.3672, allocations: 4.164 MB / 1.303 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3672, allocations: 4.031 kB / 1.303 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009118/0.3681, allocations: 0.6289 MB / 1.304 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.3683, allocations: 132.9 kB / 1.304 GB, free: 9.672 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.3683, allocations: 8 kB / 1.304 GB, free: 9.664 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.3686, allocations: 15.98 kB / 1.304 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.3686, allocations: 27.91 kB / 1.304 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.3687, allocations: 8 kB / 1.304 GB, free: 9.613 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001727/0.3688, allocations: 165.5 kB / 1.304 GB, free: 9.453 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3688, allocations: 0 / 1.304 GB, free: 9.453 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005408/0.3694, allocations: 91.88 kB / 1.304 GB, free: 9.363 MB / 1.014 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.001324/0.3707, allocations: 1.202 MB / 1.305 GB, free: 8.094 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001032/0.3717, allocations: 0.5636 MB / 1.306 GB, free: 7.504 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.3717, allocations: 7.938 kB / 1.306 GB, free: 7.496 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005934/0.3723, allocations: 393.1 kB / 1.306 GB, free: 7.086 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.3729, allocations: 37.73 kB / 1.306 GB, free: 7.051 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.3777, allocations: 3.339 MB / 1.309 GB, free: 3.508 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.3782, allocations: 0.7792 MB / 1.31 GB, free: 2.703 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001759/0.3783, allocations: 54.25 kB / 1.31 GB, free: 2.648 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.3785, allocations: 71.41 kB / 1.31 GB, free: 2.578 MB / 1.014 GB Notification: Performance of SimCode: time 4.5e-07/0.3785, allocations: 4 kB / 1.31 GB, free: 2.574 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05318/0.4316, allocations: 6.865 MB / 1.317 GB, free: 11.87 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.82, allocations: 0.625 kB / 1.317 GB, free: 11.87 MB / 1.029 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv","/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] "Error: Could not read variable grid.P.real in file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.real from file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable grid.P.apparent in file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.apparent from file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[1] in file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[1] from file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[2] in file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[2] from file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.39050730294548]