Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.001338/0.001338, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001569/0.001569, allocations: 214.8 kB / 22.25 MB, free: 5.121 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.992 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.271/3.271, allocations: 0.505 GB / 0.8101 GB, free: 22.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.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O",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.001982/0.001982, allocations: 62.94 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4556, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002071/0.4577, allocations: 0.8335 MB / 1.354 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001147/0.4578, allocations: 39.8 kB / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.4578, allocations: 0 / 1.354 GB, free: 7.551 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.315e-05/0.4579, allocations: 7.922 kB / 1.354 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.104e-05/0.458, allocations: 7.875 kB / 1.354 GB, free: 7.535 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.09e-05/0.458, allocations: 19.98 kB / 1.354 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.4582, allocations: 67.77 kB / 1.354 GB, free: 7.449 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.4583, allocations: 39.97 kB / 1.354 GB, free: 7.41 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.002e-05/0.4584, allocations: 19.88 kB / 1.354 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.714e-05/0.4584, allocations: 27.84 kB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.4585, allocations: 7.938 kB / 1.354 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.4585, allocations: 8 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.4585, allocations: 15.94 kB / 1.354 GB, free: 7.332 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.331e-05/0.4585, allocations: 35.73 kB / 1.354 GB, free: 7.297 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.4587, allocations: 83.8 kB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4587, allocations: 0 / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4587, allocations: 0 / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.4587, allocations: 4 kB / 1.354 GB, free: 7.211 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005088/0.4592, allocations: 306 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.4592, allocations: 8.031 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.4593, allocations: 38.75 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.4593, allocations: 12.88 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.4596, allocations: 138.3 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.4596, allocations: 4.375 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.4596, allocations: 8.375 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.4598, allocations: 99.86 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4598, allocations: 3.938 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4598, allocations: 4 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4598, allocations: 4 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/0.4599, allocations: 35.92 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.4605, allocations: 403.7 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.081e-05/0.4605, allocations: 41.28 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.4606, allocations: 21.84 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-06/0.4606, allocations: 0 / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.4606, allocations: 30.56 kB / 1.355 GB, free: 5.918 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.4606, allocations: 4 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001819/0.4608, allocations: 61.52 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.4608, allocations: 77.11 kB / 1.355 GB, free: 5.754 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.461, allocations: 160.7 kB / 1.355 GB, free: 5.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.461, allocations: 25.7 kB / 1.355 GB, free: 5.559 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.4611, allocations: 108 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.4611, allocations: 7.891 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.4611, allocations: 17.97 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4613, allocations: 326.8 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.4613, allocations: 4 kB / 1.356 GB, free: 5.086 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.4613, allocations: 17.72 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.876e-05/0.4614, allocations: 25.72 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4614, allocations: 0 / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.838e-05/0.4615, allocations: 61.67 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4615, allocations: 11.94 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4615, allocations: 3.938 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4615, allocations: 3.984 kB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.019e-05/0.4615, allocations: 4 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4616, allocations: 7.984 kB / 1.356 GB, free: 4.934 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.584e-05/0.4616, allocations: 7.953 kB / 1.356 GB, free: 4.926 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.4616, allocations: 4 kB / 1.356 GB, free: 4.922 MB / 1.045 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.902e-05/0.4617, allocations: 121.8 kB / 1.356 GB, free: 4.793 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/0.4617, allocations: 11.89 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.4618, allocations: 7.812 kB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4618, allocations: 0 / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/0.4618, allocations: 7.938 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4618, allocations: 0 / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.4622, allocations: 449.8 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4622, allocations: 0 / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.4622, allocations: 12 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.4622, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-06/0.4622, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4622, allocations: 0 / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4622, allocations: 4 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.058e-05/0.4623, allocations: 81.88 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.4623, allocations: 11.98 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.4623, allocations: 0 / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.168e-05/0.4624, allocations: 4 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-06/0.4624, allocations: 0 / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.4624, allocations: 4 kB / 1.357 GB, free: 4.129 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.067e-05/0.4625, allocations: 120.6 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4625, allocations: 4 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001845/0.4627, allocations: 11.94 kB / 1.357 GB, free: 3.996 MB / 1.045 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.000521/0.4632, allocations: 0.6093 MB / 1.357 GB, free: 3.355 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.4633, allocations: 23.92 kB / 1.357 GB, free: 3.332 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4633, allocations: 0 / 1.357 GB, free: 3.332 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.226e-05/0.4633, allocations: 8.219 kB / 1.357 GB, free: 3.324 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.4634, allocations: 9.938 kB / 1.358 GB, free: 3.316 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.4648, allocations: 1.328 MB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.4653, allocations: 0.6924 MB / 1.359 GB, free: 1.172 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.4653, allocations: 12.42 kB / 1.359 GB, free: 1.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.4653, allocations: 23.44 kB / 1.36 GB, free: 1.137 MB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.4653, allocations: 3.938 kB / 1.36 GB, free: 1.133 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.5007, allocations: 1.693 MB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.38, allocations: 2.719 kB / 1.361 GB, free: 15.57 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_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_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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: 18.260999401999925]