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.001297/0.001297, 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.001588/0.001588, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.961 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.907/2.907, allocations: 476.7 MB / 0.7707 GB, free: 4.277 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.001979/0.001979, allocations: 65.81 kB / 1.117 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3757, allocations: 170 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.003015/0.3787, allocations: 0.8313 MB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002004/0.3789, allocations: 43.78 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.379, allocations: 4 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.041e-05/0.379, allocations: 7.875 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.3792, allocations: 3.938 kB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.428e-05/0.3792, allocations: 19.98 kB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.3794, allocations: 67.77 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.3796, allocations: 27.97 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.746e-05/0.3797, allocations: 27.86 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.3797, allocations: 35.8 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.3798, allocations: 4 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.294e-05/0.3798, allocations: 8 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.3798, allocations: 15.92 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.3799, allocations: 31.81 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.3801, allocations: 75.09 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3801, allocations: 4 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3801, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.3801, allocations: 3.984 kB / 1.285 GB, free: 10.41 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.0005955/0.3807, allocations: 310.1 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.3807, allocations: 12.03 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.028e-05/0.3808, allocations: 42.73 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.3808, allocations: 8.891 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.3811, allocations: 130.4 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3811, allocations: 12.31 kB / 1.285 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.3812, allocations: 4.375 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.3814, allocations: 98.05 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.3814, allocations: 3.938 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3814, allocations: 4 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.3814, allocations: 4 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3815, allocations: 39.92 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007769/0.3823, allocations: 399.7 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.3824, allocations: 45.28 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.3825, allocations: 17.84 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.3825, allocations: 7.938 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3825, allocations: 30.56 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.542e-06/0.3825, allocations: 0 / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002692/0.3828, allocations: 57.7 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.3829, allocations: 85.17 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.3831, allocations: 161.2 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.3831, allocations: 29.7 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.3832, allocations: 104 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.114e-05/0.3832, allocations: 7.953 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.3833, allocations: 13.72 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3835, allocations: 322.8 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.3835, allocations: 16 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/0.3836, allocations: 17.7 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.702e-05/0.3836, allocations: 33.7 kB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3836, allocations: 0 / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001122/0.3837, allocations: 53.59 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3838, allocations: 7.938 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3838, allocations: 8.062 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3838, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.3838, allocations: 4 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3839, allocations: 3.984 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.85e-05/0.3839, allocations: 11.89 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.3839, allocations: 4 kB / 1.287 GB, free: 8.109 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 0.0001186/0.384, allocations: 110.6 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.254e-05/0.3841, allocations: 11.89 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.3841, allocations: 11.81 kB / 1.287 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3841, allocations: 4 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3841, allocations: 3.938 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.3841, allocations: 7.984 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.3846, allocations: 437.9 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3846, allocations: 3.938 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.3846, allocations: 7.938 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3846, allocations: 0 / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3847, allocations: 4.062 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3847, allocations: 0 / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3847, allocations: 3.938 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.3848, allocations: 77.88 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.3848, allocations: 15.91 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3848, allocations: 4 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.3848, allocations: 32 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.3848, allocations: 4 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-06/0.3848, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001181/0.385, allocations: 123.2 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.385, allocations: 0 / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001944/0.3852, allocations: 8 kB / 1.287 GB, free: 7.199 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.0005015/0.3857, allocations: 0.6132 MB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.3858, allocations: 23.92 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.3858, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/0.3858, allocations: 8 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.386, allocations: 1.719 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3874, allocations: 1.339 MB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.3878, allocations: 0.6929 MB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.3878, allocations: 8.422 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.3879, allocations: 27.44 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3879, allocations: 0 / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.4201, allocations: 1.69 MB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.22, allocations: 6.047 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.165107765000357]