Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000849/0.000849, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009184/0.0009184, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9222/0.9222, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.81/1.81, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.908e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001485/0.001504, allocations: 0.7894 MB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001246/0.001629, allocations: 43.72 kB / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.001684, allocations: 0 / 1 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.882e-05/0.001723, allocations: 11.86 kB / 1 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.154e-05/0.001805, allocations: 15.92 kB / 1.001 GB, free: 12.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.502e-05/0.00185, allocations: 19.98 kB / 1.001 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.001955, allocations: 59.78 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.002081, allocations: 31.97 kB / 1.001 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.00216, allocations: 39.89 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.00222, allocations: 15.92 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.002245, allocations: 4 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-06/0.002253, allocations: 8 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.002274, allocations: 19.91 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.002302, allocations: 15.94 kB / 1.001 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.002422, allocations: 79.69 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002424, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.784e-06/0.002426, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.002431, allocations: 0 / 1.001 GB, free: 12.33 MB / 0.9636 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.0003771/0.002808, allocations: 302 kB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.002852, allocations: 12.69 kB / 1.001 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.002889, allocations: 42.73 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.071e-05/0.00291, allocations: 8.891 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.003065, allocations: 137.6 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.003076, allocations: 8.375 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.003087, allocations: 12.38 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.003216, allocations: 93.67 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.003223, allocations: 192 / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.003234, allocations: 8.375 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.003241, allocations: 4.125 kB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.003314, allocations: 39.91 kB / 1.001 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.003764, allocations: 395.8 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.031e-05/0.003814, allocations: 37.25 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.003847, allocations: 25.77 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 7.144e-06/0.003854, allocations: 0 / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.003875, allocations: 34.56 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.003876, allocations: 0 / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001424/0.004018, allocations: 53.59 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.004056, allocations: 85.05 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.004162, allocations: 156.8 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.00417, allocations: 25.7 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.004224, allocations: 112 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.004236, allocations: 3.953 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.004262, allocations: 21.97 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.004343, allocations: 322.8 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.00436, allocations: 4 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.004387, allocations: 21.7 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.004421, allocations: 25.66 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004423, allocations: 0 / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.53e-05/0.004488, allocations: 65.59 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.0045, allocations: 4 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.004506, allocations: 8.047 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.004517, allocations: 3.938 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.004569, allocations: 11.94 kB / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.004574, allocations: 0 / 1.003 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.004593, allocations: 7.891 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.004597, allocations: 4 kB / 1.003 GB, free: 10.05 MB / 0.9636 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 5.637e-05/0.004653, allocations: 113.8 kB / 1.003 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.004676, allocations: 7.953 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.004697, allocations: 15.8 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.004699, allocations: 0 / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.004704, allocations: 7.938 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.004706, allocations: 0 / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.004966, allocations: 429.9 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.004968, allocations: 4 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.004979, allocations: 3.938 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.004981, allocations: 0 / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.004986, allocations: 4 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.004988, allocations: 0 / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.004989, allocations: 0 / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.522e-05/0.005044, allocations: 82.72 kB / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.005065, allocations: 19.88 kB / 1.003 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.005077, allocations: 4 kB / 1.003 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.1e-05/0.005088, allocations: 3.984 kB / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.005098, allocations: 0 / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.0051, allocations: 0 / 1.003 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.372e-05/0.005164, allocations: 121.5 kB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005164, allocations: 4 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001243/0.005288, allocations: 4 kB / 1.004 GB, free: 9.152 MB / 0.9636 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.0002731/0.005561, allocations: 0.6171 MB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.301e-05/0.005644, allocations: 16 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.005647, allocations: 0 / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/0.005655, allocations: 7.938 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.005786, allocations: 11.94 kB / 1.004 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.006815, allocations: 1.34 MB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.316e-05/0.006878, allocations: 83.56 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.006909, allocations: 8.578 kB / 1.006 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.105e-05/0.00696, allocations: 36.41 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of SimCode: time 1.112e-06/0.006962, allocations: 0 / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.02369, allocations: 2.224 MB / 1.008 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/6.932, allocations: 8.062 kB / 1.008 GB, free: 4.773 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.19928074721247]