Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001916/0.001916, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002295/0.002295, allocations: 212 kB / 20.13 MB, free: 2.949 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.551/1.551, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.888/2.888, allocations: 476.7 MB / 0.7678 GB, free: 9.305 MB / 0.6075 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.To_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="cs",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.002082/0.002082, allocations: 63.89 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165/1.167, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002319/1.169, allocations: 0.8257 MB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001331/1.169, allocations: 41.98 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/1.169, allocations: 1.344 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.64e-05/1.169, allocations: 9.703 kB / 1.28 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/1.169, allocations: 18.34 kB / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.218e-05/1.17, allocations: 15.58 kB / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/1.17, allocations: 64.28 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/1.17, allocations: 31.09 kB / 1.28 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/1.17, allocations: 31.91 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/1.17, allocations: 26.73 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/1.17, allocations: 6.219 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.595e-05/1.17, allocations: 5.469 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/1.17, allocations: 20.88 kB / 1.28 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/1.17, allocations: 32.83 kB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/1.17, allocations: 80.7 kB / 1.28 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.17, allocations: 0.75 kB / 1.28 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.17, allocations: 0 / 1.28 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.17, allocations: 0 / 1.28 GB, free: 10.95 MB / 0.9981 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.0005228/1.171, allocations: 380 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/1.171, allocations: 11.17 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.874e-05/1.171, allocations: 5.25 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/1.171, allocations: 43.67 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/1.171, allocations: 9.391 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/1.171, allocations: 204.2 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/1.171, allocations: 8.125 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/1.171, allocations: 9.844 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/1.171, allocations: 93.86 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.171, allocations: 1.344 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/1.171, allocations: 4 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/1.171, allocations: 2.594 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.893e-05/1.172, allocations: 43.56 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006382/1.172, allocations: 434 kB / 1.281 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.43e-05/1.172, allocations: 41.19 kB / 1.281 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/1.172, allocations: 20.58 kB / 1.281 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/1.172, allocations: 5.156 kB / 1.281 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/1.172, allocations: 36.12 kB / 1.281 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/1.172, allocations: 0 / 1.281 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001993/1.173, allocations: 52.58 kB / 1.281 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/1.173, allocations: 82.67 kB / 1.282 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/1.173, allocations: 155.1 kB / 1.282 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/1.173, allocations: 29.7 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.049e-05/1.173, allocations: 112.2 kB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/1.173, allocations: 5.766 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/1.173, allocations: 18.94 kB / 1.282 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.173, allocations: 314.9 kB / 1.282 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/1.173, allocations: 7.906 kB / 1.282 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.83e-05/1.173, allocations: 24.48 kB / 1.282 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/1.173, allocations: 27.19 kB / 1.282 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.173, allocations: 0 / 1.282 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.922e-05/1.173, allocations: 61.97 kB / 1.282 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.173, allocations: 8.875 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.173, allocations: 1.922 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.173, allocations: 1.156 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/1.173, allocations: 5.938 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.173, allocations: 5.438 kB / 1.282 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/1.173, allocations: 9.859 kB / 1.282 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/1.173, allocations: 2.531 kB / 1.282 GB, free: 8.809 MB / 0.9981 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 9.617e-05/1.174, allocations: 113.2 kB / 1.282 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/1.174, allocations: 11.83 kB / 1.282 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/1.174, allocations: 8.844 kB / 1.282 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.174, allocations: 1.828 kB / 1.282 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.174, allocations: 3.938 kB / 1.282 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.174, allocations: 1.062 kB / 1.282 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/1.174, allocations: 478.5 kB / 1.283 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.174, allocations: 1.672 kB / 1.283 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/1.174, allocations: 3.156 kB / 1.283 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/1.174, allocations: 0.6562 kB / 1.283 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/1.174, allocations: 9 kB / 1.283 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.174, allocations: 1.125 kB / 1.283 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.174, allocations: 1.844 kB / 1.283 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.925e-05/1.174, allocations: 83.52 kB / 1.283 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-05/1.174, allocations: 91.09 kB / 1.283 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/1.174, allocations: 1.844 kB / 1.283 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.073e-05/1.174, allocations: 0 / 1.283 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/1.174, allocations: 2.359 kB / 1.283 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/1.174, allocations: 0.875 kB / 1.283 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001186/1.174, allocations: 129.4 kB / 1.283 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/1.174, allocations: 0 / 1.283 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001981/1.175, allocations: 11.38 kB / 1.283 GB, free: 7.883 MB / 0.9981 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.0004997/1.175, allocations: 0.6161 MB / 1.284 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001126/1.175, allocations: 19.05 kB / 1.284 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.175, allocations: 0.5 kB / 1.284 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/1.175, allocations: 8.062 kB / 1.284 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/1.175, allocations: 7.859 kB / 1.284 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/1.177, allocations: 1.324 MB / 1.285 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/1.177, allocations: 0.6928 MB / 1.286 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.244e-05/1.177, allocations: 6.812 kB / 1.286 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/1.177, allocations: 25.55 kB / 1.286 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/1.177, allocations: 0 / 1.286 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/1.2, allocations: 1.635 MB / 1.287 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.466/9.666, allocations: 10.14 kB / 1.287 GB, free: 4.898 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 16.163816627988126]