Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.001778/0.001778, allocations: 111 kB / 16.46 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.002526/0.002526, 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.58/1.58, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.945/2.945, allocations: 476.7 MB / 0.7672 GB, free: 5.219 MB / 0.6231 GB " [Timeout remaining time 176] 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.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",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.002159/0.002159, allocations: 68.09 kB / 1.112 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8606/0.8627, allocations: 169.9 MB / 1.278 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002197/0.8649, allocations: 0.8381 MB / 1.279 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001219/0.865, allocations: 39.78 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.8651, allocations: 0 / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.763e-05/0.8651, allocations: 7.875 kB / 1.279 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.329e-05/0.8652, allocations: 19.86 kB / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.642e-05/0.8653, allocations: 19.98 kB / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.8654, allocations: 55.84 kB / 1.279 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.8655, allocations: 31.98 kB / 1.279 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.988e-05/0.8656, allocations: 31.78 kB / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.8656, allocations: 27.86 kB / 1.279 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.8657, allocations: 8 kB / 1.279 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.8657, allocations: 4 kB / 1.279 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.8657, allocations: 15.92 kB / 1.279 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.8657, allocations: 39.73 kB / 1.279 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.8659, allocations: 77.47 kB / 1.279 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8659, allocations: 0 / 1.279 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8659, allocations: 3.938 kB / 1.279 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.8659, allocations: 0 / 1.279 GB, free: 12.34 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004446/0.8663, allocations: 379.1 kB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.8664, allocations: 12.02 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.8664, allocations: 38.75 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.8664, allocations: 8.891 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.8667, allocations: 196.2 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.8667, allocations: 12.38 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.8667, allocations: 8.359 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.8669, allocations: 95.8 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.8669, allocations: 3.938 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.8669, allocations: 4 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8669, allocations: 0 / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/0.867, allocations: 39.92 kB / 1.28 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.8675, allocations: 432.8 kB / 1.281 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.151e-05/0.8676, allocations: 49.17 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.8677, allocations: 17.84 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.8677, allocations: 7.938 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.8677, allocations: 34.56 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.8677, allocations: 0 / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001719/0.8679, allocations: 53.53 kB / 1.281 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.8679, allocations: 81.09 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.8681, allocations: 156.9 kB / 1.281 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.8681, allocations: 29.94 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.245e-05/0.8682, allocations: 108 kB / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.8682, allocations: 15.94 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.8682, allocations: 13.72 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.8684, allocations: 314.8 kB / 1.281 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.8684, allocations: 15.92 kB / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/0.8684, allocations: 13.72 kB / 1.282 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.95e-05/0.8685, allocations: 33.66 kB / 1.282 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8685, allocations: 4 kB / 1.282 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.065e-05/0.8686, allocations: 57.58 kB / 1.282 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.8686, allocations: 10.44 kB / 1.282 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.8686, allocations: 0 / 1.282 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.8686, allocations: 4 kB / 1.282 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.8686, allocations: 4 kB / 1.282 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.8687, allocations: 0 / 1.282 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.633e-05/0.8687, allocations: 15.95 kB / 1.282 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.8687, allocations: 4 kB / 1.282 GB, free: 9.844 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.22e-05/0.8688, allocations: 109.8 kB / 1.282 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.8688, allocations: 19.88 kB / 1.282 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.8688, allocations: 7.875 kB / 1.282 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8688, allocations: 0 / 1.282 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.8689, allocations: 4 kB / 1.282 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.8689, allocations: 0 / 1.282 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.8693, allocations: 474.8 kB / 1.282 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8693, allocations: 0 / 1.282 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.8693, allocations: 4 kB / 1.282 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8693, allocations: 0 / 1.282 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.8693, allocations: 7.984 kB / 1.282 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8693, allocations: 0 / 1.282 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8693, allocations: 0 / 1.282 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.269e-05/0.8694, allocations: 81.89 kB / 1.282 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.8695, allocations: 97 kB / 1.282 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.8695, allocations: 0 / 1.282 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.8695, allocations: 0 / 1.282 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.8695, allocations: 4 kB / 1.282 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.8695, allocations: 0 / 1.282 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.965e-05/0.8696, allocations: 125.8 kB / 1.283 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8696, allocations: 0 / 1.283 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001944/0.8698, allocations: 12.03 kB / 1.283 GB, free: 8.801 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004407/0.8703, allocations: 0.6137 MB / 1.283 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.758e-05/0.8703, allocations: 20.09 kB / 1.283 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8703, allocations: 3.938 kB / 1.283 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.851e-05/0.8704, allocations: 15.92 kB / 1.283 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.8705, allocations: 4 kB / 1.283 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.8718, allocations: 1.318 MB / 1.284 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.8721, allocations: 0.6968 MB / 1.285 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.8721, allocations: 8.422 kB / 1.285 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.8722, allocations: 23.44 kB / 1.285 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8722, allocations: 0 / 1.285 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.8969, allocations: 1.593 MB / 1.287 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/8.91, allocations: 19.67 kB / 1.287 GB, free: 4.43 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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: 15.495893828105181]