Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.008671/0.008671, allocations: 103.3 kB / 15.74 MB, free: 6.004 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.001939/0.001939, allocations: 191.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.93/1.93, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.187/3.187, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.89 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211/1.213, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002099/1.215, allocations: 0.8182 MB / 1.088 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/1.215, allocations: 48.88 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/1.215, allocations: 1.094 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.241e-05/1.215, allocations: 9.234 kB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.424e-05/1.215, allocations: 10.28 kB / 1.088 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.201e-05/1.215, allocations: 15.84 kB / 1.088 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/1.215, allocations: 63.69 kB / 1.088 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/1.216, allocations: 37.98 kB / 1.088 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/1.216, allocations: 28.92 kB / 1.088 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/1.216, allocations: 30.77 kB / 1.089 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/1.216, allocations: 5.812 kB / 1.089 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.055e-05/1.216, allocations: 6.344 kB / 1.089 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/1.216, allocations: 20.98 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/1.216, allocations: 29.08 kB / 1.089 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/1.216, allocations: 77.06 kB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.216, allocations: 0 / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.103e-06/1.216, allocations: 0 / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.216, allocations: 1.125 kB / 1.089 GB, free: 4.535 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.0003857/1.216, allocations: 379.9 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.216, allocations: 10.03 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/1.216, allocations: 39.09 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/1.217, allocations: 13.25 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/1.217, allocations: 201.1 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/1.217, allocations: 7.031 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/1.217, allocations: 10.75 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/1.217, allocations: 89.8 kB / 1.089 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.217, allocations: 5.125 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/1.217, allocations: 4 kB / 1.089 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.217, allocations: 2.281 kB / 1.089 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/1.217, allocations: 44.42 kB / 1.089 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/1.218, allocations: 434 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.679e-05/1.218, allocations: 41.84 kB / 1.09 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/1.218, allocations: 25.12 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/1.218, allocations: 4 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/1.218, allocations: 33 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/1.218, allocations: 0 / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001664/1.218, allocations: 60.91 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/1.218, allocations: 78.23 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/1.218, allocations: 154.7 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/1.218, allocations: 27.39 kB / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/1.218, allocations: 110.4 kB / 1.09 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.678e-06/1.218, allocations: 5.359 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/1.218, allocations: 19.55 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.441e-05/1.218, allocations: 318.6 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/1.218, allocations: 4.766 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/1.218, allocations: 19.25 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/1.218, allocations: 36.44 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/1.218, allocations: 0 / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.161e-05/1.218, allocations: 61.81 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.218, allocations: 11.44 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.218, allocations: 1.094 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.218, allocations: 0.6094 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/1.219, allocations: 7.312 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/1.219, allocations: 0.5938 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/1.219, allocations: 10.09 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/1.219, allocations: 1.25 kB / 1.091 GB, free: 2.406 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 5.923e-05/1.219, allocations: 115.2 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.201e-05/1.219, allocations: 11.72 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/1.219, allocations: 12.92 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/1.219, allocations: 0 / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/1.219, allocations: 1.281 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.219, allocations: 1.781 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/1.219, allocations: 474.4 kB / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.219, allocations: 0 / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/1.219, allocations: 4.203 kB / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.219, allocations: 0.9062 kB / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/1.219, allocations: 5.578 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.219, allocations: 0 / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.219, allocations: 1.578 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.041e-05/1.219, allocations: 88.56 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/1.219, allocations: 90.19 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/1.219, allocations: 6.297 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.191e-05/1.219, allocations: 0.7188 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/1.219, allocations: 1.641 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/1.219, allocations: 1.312 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.468e-05/1.219, allocations: 125 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.219, allocations: 4.688 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002034/1.22, allocations: 7.688 kB / 1.092 GB, free: 1.484 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.0003611/1.22, allocations: 0.6137 MB / 1.092 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.509e-05/1.22, allocations: 20.97 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.22, allocations: 0 / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.254e-05/1.22, allocations: 8.922 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/1.22, allocations: 11.22 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/1.222, allocations: 1.322 MB / 1.094 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/1.222, allocations: 0.6962 MB / 1.094 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.171e-05/1.222, allocations: 7.344 kB / 1.094 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/1.222, allocations: 28.89 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/1.222, allocations: 1.062 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/1.245, allocations: 1.567 MB / 1.096 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.76, allocations: 31.53 kB / 1.096 GB, free: 14.51 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches