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.001372/0.001372, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00162/0.00162, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.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 3.225/3.225, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_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.002035/0.002035, allocations: 70.92 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3183, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005062/0.3233, allocations: 3.06 MB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003363/0.3267, allocations: 1.885 MB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3268, allocations: 7.938 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009664/0.3278, allocations: 282.9 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.3283, allocations: 195.1 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.329, allocations: 258.1 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003955/0.3294, allocations: 318.9 kB / 1.369 GB, free: 8.121 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.3297, allocations: 153.1 kB / 1.369 GB, free: 7.965 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.3299, allocations: 139.5 kB / 1.369 GB, free: 7.828 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.3302, allocations: 147.4 kB / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.3303, allocations: 20 kB / 1.37 GB, free: 7.664 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006729/0.331, allocations: 379.2 kB / 1.37 GB, free: 7.293 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.3311, allocations: 91.67 kB / 1.37 GB, free: 7.203 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.3312, allocations: 99.58 kB / 1.37 GB, free: 7.105 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007106/0.3319, allocations: 0.4944 MB / 1.371 GB, free: 6.609 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3319, allocations: 0 / 1.371 GB, free: 6.609 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3319, allocations: 0 / 1.371 GB, free: 6.609 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.3319, allocations: 4 kB / 1.371 GB, free: 6.605 MB / 1.061 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.001062/0.333, allocations: 0.4909 MB / 1.371 GB, free: 6.086 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.333, allocations: 8.031 kB / 1.371 GB, free: 6.078 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.462e-05/0.3331, allocations: 54.73 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000852/0.334, allocations: 108.6 kB / 1.371 GB, free: 5.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.3344, allocations: 218.1 kB / 1.372 GB, free: 5.672 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.3344, allocations: 12.81 kB / 1.372 GB, free: 5.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.3344, allocations: 16.38 kB / 1.372 GB, free: 5.645 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006134/0.3351, allocations: 412.2 kB / 1.372 GB, free: 5.211 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3351, allocations: 0 / 1.372 GB, free: 5.211 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.3351, allocations: 7.938 kB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/0.3351, allocations: 28.42 kB / 1.372 GB, free: 5.172 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.3356, allocations: 293.4 kB / 1.372 GB, free: 4.887 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.3377, allocations: 1.279 MB / 1.374 GB, free: 3.539 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004881/0.3382, allocations: 240.9 kB / 1.374 GB, free: 3.285 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.3384, allocations: 109.6 kB / 1.374 GB, free: 3.172 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.429e-05/0.3385, allocations: 12 kB / 1.374 GB, free: 3.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.3385, allocations: 34.55 kB / 1.374 GB, free: 3.117 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.3385, allocations: 4 kB / 1.374 GB, free: 3.113 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.002553/0.3411, allocations: 0.8942 MB / 1.375 GB, free: 2.199 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.3411, allocations: 81.05 kB / 1.375 GB, free: 2.102 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.3414, allocations: 215.8 kB / 1.375 GB, free: 1.879 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.3414, allocations: 33.73 kB / 1.375 GB, free: 1.84 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.3415, allocations: 172.5 kB / 1.375 GB, free: 1.664 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.3416, allocations: 83.27 kB / 1.375 GB, free: 1.582 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3417, allocations: 61.66 kB / 1.375 GB, free: 1.516 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3419, allocations: 330.8 kB / 1.376 GB, free: 1.184 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.3421, allocations: 131.9 kB / 1.376 GB, free: 1.055 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.3424, allocations: 213.2 kB / 1.376 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.3429, allocations: 369.1 kB / 1.376 GB, free: 432 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3429, allocations: 4 kB / 1.376 GB, free: 428 kB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009755/0.3438, allocations: 0.5084 MB / 1.377 GB, free: 15.89 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.3439, allocations: 4 kB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3439, allocations: 4 kB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005504/0.3444, allocations: 155.3 kB / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.3447, allocations: 63.89 kB / 1.377 GB, free: 15.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.3482, allocations: 3.972 MB / 1.381 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.3485, allocations: 23.97 kB / 1.381 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.3485, allocations: 12 kB / 1.381 GB, free: 11.37 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.0002107/0.3487, allocations: 167 kB / 1.381 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.3488, allocations: 23.86 kB / 1.381 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000913/0.3497, allocations: 475.5 kB / 1.382 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3497, allocations: 4 kB / 1.382 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3497, allocations: 0 / 1.382 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3497, allocations: 7.984 kB / 1.382 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.3514, allocations: 0.9327 MB / 1.383 GB, free: 9.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3514, allocations: 7.938 kB / 1.383 GB, free: 9.652 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.3515, allocations: 27.98 kB / 1.383 GB, free: 9.625 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00043/0.3519, allocations: 143.2 kB / 1.383 GB, free: 9.473 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.352, allocations: 11.98 kB / 1.383 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003362/0.3553, allocations: 3.945 MB / 1.387 GB, free: 5.234 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.3553, allocations: 4.062 kB / 1.387 GB, free: 5.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.3562, allocations: 0.6232 MB / 1.387 GB, free: 4.555 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.3563, allocations: 55.77 kB / 1.387 GB, free: 4.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.3564, allocations: 8 kB / 1.387 GB, free: 4.492 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.3566, allocations: 15.98 kB / 1.387 GB, free: 4.477 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.3566, allocations: 23.95 kB / 1.387 GB, free: 4.453 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.3567, allocations: 12 kB / 1.387 GB, free: 4.441 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001637/0.3568, allocations: 156.2 kB / 1.387 GB, free: 4.289 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3568, allocations: 4 kB / 1.387 GB, free: 4.285 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005278/0.3574, allocations: 91.92 kB / 1.388 GB, free: 4.195 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.001316/0.3587, allocations: 1.205 MB / 1.389 GB, free: 2.922 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000992/0.3597, allocations: 0.5634 MB / 1.389 GB, free: 2.332 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.3597, allocations: 4 kB / 1.389 GB, free: 2.328 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005568/0.3602, allocations: 378.2 kB / 1.39 GB, free: 1.934 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.3607, allocations: 62.03 kB / 1.39 GB, free: 1.875 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004486/0.3652, allocations: 3.334 MB / 1.393 GB, free: 14.33 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.3654, allocations: 181 kB / 1.393 GB, free: 14.13 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.3656, allocations: 62.23 kB / 1.393 GB, free: 14.07 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.3657, allocations: 71.41 kB / 1.393 GB, free: 14 MB / 1.092 GB Notification: Performance of SimCode: time 4.11e-07/0.3657, allocations: 0 / 1.393 GB, free: 14 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04269/0.4084, allocations: 7.346 MB / 1.4 GB, free: 6.844 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.53, allocations: 1.125 kB / 1.4 GB, free: 6.844 MB / 1.092 GB " [Timeout remaining time 286] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv","/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] "Error: Could not read variable grid.P.real in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.real from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable grid.P.apparent in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.apparent from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[1] in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[1] from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[2] in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[2] from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.14580624876544]