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.001806/0.001806, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002158/0.002158, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.483/1.483, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.21/3.21, allocations: 0.505 GB / 0.8066 GB, free: 23.04 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.0021/0.0021, allocations: 68.39 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 180.2 MB / 1.348 GB, free: 9.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005437/0.3696, allocations: 3.125 MB / 1.351 GB, free: 6.809 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003585/0.3731, allocations: 2.017 MB / 1.353 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.3733, allocations: 4 kB / 1.353 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009923/0.3743, allocations: 278.9 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005821/0.3749, allocations: 203.1 kB / 1.353 GB, free: 4.305 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007816/0.3757, allocations: 255.2 kB / 1.353 GB, free: 4.055 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005188/0.3762, allocations: 326.9 kB / 1.354 GB, free: 3.734 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.3765, allocations: 145 kB / 1.354 GB, free: 3.586 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/0.3768, allocations: 135.5 kB / 1.354 GB, free: 3.453 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.3771, allocations: 159.4 kB / 1.354 GB, free: 3.297 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.3771, allocations: 20 kB / 1.354 GB, free: 3.277 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007507/0.3779, allocations: 427.1 kB / 1.355 GB, free: 2.859 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.378, allocations: 91.73 kB / 1.355 GB, free: 2.77 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.3782, allocations: 119.4 kB / 1.355 GB, free: 2.652 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0007508/0.3789, allocations: 0.4905 MB / 1.355 GB, free: 2.16 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3789, allocations: 3.938 kB / 1.355 GB, free: 2.156 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3789, allocations: 3.938 kB / 1.355 GB, free: 2.152 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.3789, allocations: 0 / 1.355 GB, free: 2.152 MB / 1.045 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.001025/0.38, allocations: 0.5702 MB / 1.356 GB, free: 1.535 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.38, allocations: 11.98 kB / 1.356 GB, free: 1.523 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.579e-05/0.3801, allocations: 58.73 kB / 1.356 GB, free: 1.457 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008847/0.381, allocations: 108.7 kB / 1.356 GB, free: 1.352 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.3814, allocations: 280.9 kB / 1.356 GB, free: 1.039 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3814, allocations: 12.81 kB / 1.356 GB, free: 1.027 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.3815, allocations: 16.38 kB / 1.356 GB, free: 1.012 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.3821, allocations: 361.2 kB / 1.357 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3821, allocations: 0 / 1.357 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.3821, allocations: 11.98 kB / 1.357 GB, free: 0.6211 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.3822, allocations: 24.42 kB / 1.357 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.3827, allocations: 289.5 kB / 1.357 GB, free: 324 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.3851, allocations: 1.741 MB / 1.359 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.3857, allocations: 310.1 kB / 1.359 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3859, allocations: 117.5 kB / 1.359 GB, free: 13.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.386, allocations: 93.09 kB / 1.359 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.386, allocations: 30.56 kB / 1.359 GB, free: 13.8 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.993e-06/0.386, allocations: 4 kB / 1.359 GB, free: 13.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.002756/0.3888, allocations: 0.9753 MB / 1.36 GB, free: 12.78 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.3888, allocations: 85.05 kB / 1.36 GB, free: 12.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.3891, allocations: 204.8 kB / 1.36 GB, free: 12.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.3891, allocations: 29.7 kB / 1.36 GB, free: 12.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.3893, allocations: 176.4 kB / 1.361 GB, free: 12.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.3893, allocations: 87.25 kB / 1.361 GB, free: 12.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.3894, allocations: 57.7 kB / 1.361 GB, free: 12.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3896, allocations: 334.8 kB / 1.361 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002234/0.3898, allocations: 131.9 kB / 1.361 GB, free: 11.64 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/0.3901, allocations: 205.2 kB / 1.361 GB, free: 11.41 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/0.3906, allocations: 378.9 kB / 1.362 GB, free: 11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3906, allocations: 4 kB / 1.362 GB, free: 11 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009456/0.3916, allocations: 0.5005 MB / 1.362 GB, free: 10.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3916, allocations: 11.98 kB / 1.362 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3916, allocations: 4 kB / 1.362 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005408/0.3921, allocations: 147.3 kB / 1.362 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.3924, allocations: 68 kB / 1.362 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/0.3961, allocations: 4.175 MB / 1.367 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.3963, allocations: 28.25 kB / 1.367 GB, free: 5.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.3964, allocations: 15.94 kB / 1.367 GB, free: 5.691 MB / 1.061 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.0002347/0.3966, allocations: 169.7 kB / 1.367 GB, free: 5.516 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.3967, allocations: 23.86 kB / 1.367 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000983/0.3977, allocations: 478.4 kB / 1.367 GB, free: 5.008 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3977, allocations: 4 kB / 1.367 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3977, allocations: 0 / 1.367 GB, free: 5.004 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3977, allocations: 7.984 kB / 1.367 GB, free: 4.996 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.3994, allocations: 0.9807 MB / 1.368 GB, free: 3.922 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.3994, allocations: 8.031 kB / 1.368 GB, free: 3.914 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.3995, allocations: 35.92 kB / 1.368 GB, free: 3.879 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004425/0.4, allocations: 139.3 kB / 1.368 GB, free: 3.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.4, allocations: 8 kB / 1.368 GB, free: 3.723 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003572/0.4036, allocations: 4.159 MB / 1.372 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4036, allocations: 4.031 kB / 1.372 GB, free: 15.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009932/0.4046, allocations: 0.6182 MB / 1.373 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.4048, allocations: 132.9 kB / 1.373 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.4048, allocations: 8 kB / 1.373 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.405, allocations: 19.97 kB / 1.373 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.4051, allocations: 23.92 kB / 1.373 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.4051, allocations: 15.98 kB / 1.373 GB, free: 14.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001818/0.4053, allocations: 156.5 kB / 1.373 GB, free: 14.19 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4053, allocations: 0 / 1.373 GB, free: 14.19 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005613/0.4059, allocations: 91.88 kB / 1.374 GB, free: 14.1 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.001369/0.4072, allocations: 1.217 MB / 1.375 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001029/0.4083, allocations: 0.5597 MB / 1.375 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4083, allocations: 0 / 1.375 GB, free: 12.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.4089, allocations: 397 kB / 1.376 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/0.4094, allocations: 48.69 kB / 1.376 GB, free: 11.77 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.4143, allocations: 3.335 MB / 1.379 GB, free: 8.223 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.4149, allocations: 0.7829 MB / 1.38 GB, free: 7.414 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.4151, allocations: 58.23 kB / 1.38 GB, free: 7.355 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.4152, allocations: 67.42 kB / 1.38 GB, free: 7.289 MB / 1.076 GB Notification: Performance of SimCode: time 8.21e-07/0.4152, allocations: 4 kB / 1.38 GB, free: 7.285 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03925/0.4545, allocations: 6.876 MB / 1.387 GB, free: 0.5781 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.79, allocations: 1.562 kB / 1.387 GB, free: 0.5781 MB / 1.076 GB " [Timeout remaining time 287] (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: 19.59006432397291]