Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01745/0.01745, allocations: 102.1 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002776/0.002776, allocations: 195 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.427/2.427, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.637/3.637, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002485, allocations: 63.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656/1.659, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.003857/1.663, allocations: 0.8261 MB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001866/1.663, allocations: 44.75 kB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.498e-05/1.663, allocations: 1.156 kB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.678e-05/1.663, allocations: 9.188 kB / 1.088 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/1.663, allocations: 10.34 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.18e-05/1.663, allocations: 17.75 kB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001992/1.663, allocations: 62.16 kB / 1.088 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/1.664, allocations: 38.06 kB / 1.088 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.939e-05/1.664, allocations: 33.89 kB / 1.088 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.721e-05/1.664, allocations: 34.69 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.55e-05/1.664, allocations: 6.281 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.986e-05/1.664, allocations: 5.656 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/1.664, allocations: 20.08 kB / 1.089 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/1.664, allocations: 29.36 kB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/1.664, allocations: 78.91 kB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.664, allocations: 3.938 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.715e-06/1.664, allocations: 0 / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.189e-05/1.664, allocations: 1.125 kB / 1.089 GB, free: 4.52 MB / 0.8575 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.0006595/1.665, allocations: 375.6 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.225e-05/1.665, allocations: 11.59 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.648e-05/1.665, allocations: 38.64 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/1.665, allocations: 17.34 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/1.666, allocations: 192.5 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/1.666, allocations: 3.562 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/1.666, allocations: 9.453 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/1.666, allocations: 90.42 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.666, allocations: 3.938 kB / 1.089 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/1.666, allocations: 5.219 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.666, allocations: 1.75 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/1.666, allocations: 45 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007492/1.667, allocations: 437.9 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/1.667, allocations: 41.34 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.928e-05/1.667, allocations: 24.11 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/1.667, allocations: 1.062 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/1.667, allocations: 32.77 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/1.667, allocations: 0 / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002736/1.667, allocations: 61.14 kB / 1.09 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/1.667, allocations: 78.7 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/1.668, allocations: 158.6 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/1.668, allocations: 26.31 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.264e-05/1.668, allocations: 108.2 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/1.668, allocations: 9.578 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/1.668, allocations: 17.66 kB / 1.09 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.668, allocations: 320 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.804e-05/1.668, allocations: 4.094 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/1.668, allocations: 24.53 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/1.668, allocations: 30.56 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.668, allocations: 1.094 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001319/1.668, allocations: 65.12 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/1.668, allocations: 11.55 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.668, allocations: 1.25 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.668, allocations: 1.281 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/1.668, allocations: 5.609 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/1.668, allocations: 5.062 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/1.669, allocations: 6.578 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/1.669, allocations: 2.125 kB / 1.091 GB, free: 2.395 MB / 0.8575 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.0001113/1.669, allocations: 114.2 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/1.669, allocations: 11.47 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.286e-05/1.669, allocations: 12.23 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.669, allocations: 1.891 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/1.669, allocations: 0.9062 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.669, allocations: 4.812 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/1.669, allocations: 466.2 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.669, allocations: 1.797 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/1.669, allocations: 2.703 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.669, allocations: 5.719 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/1.669, allocations: 0 / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/1.669, allocations: 1.562 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.669, allocations: 0.9062 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/1.67, allocations: 88.48 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/1.67, allocations: 91.61 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/1.67, allocations: 1.094 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/1.67, allocations: 0.5156 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/1.67, allocations: 1.625 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/1.67, allocations: 9.656 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001389/1.67, allocations: 126.3 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/1.67, allocations: 0 / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003515/1.67, allocations: 6.406 kB / 1.092 GB, free: 1.477 MB / 0.8575 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.0005888/1.671, allocations: 0.6195 MB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001354/1.671, allocations: 16.75 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.671, allocations: 0 / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.301e-05/1.671, allocations: 9.047 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/1.671, allocations: 11 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/1.674, allocations: 1.325 MB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/1.674, allocations: 0.6924 MB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.099e-05/1.674, allocations: 11.86 kB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.136e-05/1.674, allocations: 25.28 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of SimCode: time 1.854e-06/1.674, allocations: 0 / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/1.709, allocations: 1.568 MB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/15.87, allocations: 15.42 kB / 1.096 GB, free: 14.51 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches