Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001694/0.001694, 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.002097/0.002097, allocations: 217.7 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.988 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.244/3.244, 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.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.002066/0.002066, allocations: 66.92 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4202, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.00253/0.4227, allocations: 0.8353 MB / 1.354 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000157/0.4229, allocations: 43.78 kB / 1.354 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.4229, allocations: 0 / 1.354 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.91e-05/0.423, allocations: 11.88 kB / 1.354 GB, free: 7.531 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.4231, allocations: 7.938 kB / 1.354 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.579e-05/0.4232, allocations: 23.97 kB / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.4233, allocations: 59.78 kB / 1.354 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.4235, allocations: 27.98 kB / 1.354 GB, free: 7.414 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.4236, allocations: 27.86 kB / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.4236, allocations: 23.86 kB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.4237, allocations: 8 kB / 1.354 GB, free: 7.355 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.482e-05/0.4237, allocations: 8 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.998e-05/0.4237, allocations: 19.91 kB / 1.354 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.4238, allocations: 43.69 kB / 1.354 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.4239, allocations: 71.86 kB / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4239, allocations: 0 / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4239, allocations: 0 / 1.354 GB, free: 7.215 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.4239, allocations: 0 / 1.354 GB, free: 7.215 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.000483/0.4244, allocations: 309.9 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4245, allocations: 12.03 kB / 1.354 GB, free: 6.867 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.4245, allocations: 38.73 kB / 1.354 GB, free: 6.82 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.4246, allocations: 12.89 kB / 1.354 GB, free: 6.809 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.4248, allocations: 146.2 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.4248, allocations: 8.375 kB / 1.355 GB, free: 6.633 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.4248, allocations: 4.375 kB / 1.355 GB, free: 6.629 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.425, allocations: 95.86 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.425, allocations: 3.938 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4251, allocations: 3.938 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4251, allocations: 0 / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.217e-05/0.4251, allocations: 35.98 kB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006014/0.4257, allocations: 403.7 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.609e-05/0.4258, allocations: 41.34 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.807e-05/0.4258, allocations: 17.78 kB / 1.355 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.4259, allocations: 4 kB / 1.355 GB, free: 5.953 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.4259, allocations: 42.48 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4259, allocations: 0 / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001825/0.4261, allocations: 49.59 kB / 1.355 GB, free: 5.848 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.4261, allocations: 81.05 kB / 1.355 GB, free: 5.75 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.4263, allocations: 159.3 kB / 1.355 GB, free: 5.586 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.4264, allocations: 29.95 kB / 1.355 GB, free: 5.551 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/0.4265, allocations: 108 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.4265, allocations: 11.95 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.4265, allocations: 13.72 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002188/0.4267, allocations: 318.8 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.4268, allocations: 8 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.4268, allocations: 13.72 kB / 1.356 GB, free: 5.062 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.481e-05/0.4268, allocations: 33.7 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4268, allocations: 4 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.879e-05/0.4269, allocations: 53.59 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.4269, allocations: 7.938 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4269, allocations: 0 / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.427, allocations: 4 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.53e-05/0.427, allocations: 7.984 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.427, allocations: 0 / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.4271, allocations: 12.02 kB / 1.356 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.4271, allocations: 0 / 1.356 GB, free: 4.93 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 0.0001165/0.4272, allocations: 121.7 kB / 1.356 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.4272, allocations: 11.89 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/0.4273, allocations: 19.73 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.4273, allocations: 4.078 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4273, allocations: 0 / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4273, allocations: 0 / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.4278, allocations: 461.7 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.4278, allocations: 4 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.628e-05/0.4278, allocations: 0 / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4278, allocations: 4 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.4278, allocations: 0 / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4278, allocations: 0 / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4278, allocations: 3.984 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.4279, allocations: 85.88 kB / 1.357 GB, free: 4.137 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.428, allocations: 11.95 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.428, allocations: 0 / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.428, allocations: 4 kB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.428, allocations: 3.984 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.428, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001165/0.4282, allocations: 122.3 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4282, allocations: 7.969 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000189/0.4283, allocations: 8 kB / 1.357 GB, free: 3.984 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.0005621/0.4289, allocations: 0.6054 MB / 1.357 GB, free: 3.348 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.429, allocations: 23.95 kB / 1.357 GB, free: 3.324 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.429, allocations: 0 / 1.357 GB, free: 3.324 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-06/0.429, allocations: 4 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.4292, allocations: 10.03 kB / 1.358 GB, free: 3.312 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.4307, allocations: 1.332 MB / 1.359 GB, free: 1.883 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.4311, allocations: 0.6963 MB / 1.359 GB, free: 1.16 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.4311, allocations: 8.422 kB / 1.359 GB, free: 1.152 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.4311, allocations: 27.42 kB / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of SimCode: time 3.61e-07/0.4311, allocations: 0 / 1.36 GB, free: 1.125 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03143/0.4626, allocations: 1.68 MB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.26, allocations: 18.09 kB / 1.361 GB, free: 15.56 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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_To_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 18.279113782999957]