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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.571/2.571, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 71 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2535, allocations: 157.4 MB / 1.053 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001892/0.2554, allocations: 0.8442 MB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001081/0.2555, allocations: 39.78 kB / 1.054 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.2556, allocations: 4 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.532e-05/0.2556, allocations: 11.86 kB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.2557, allocations: 3.938 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.072e-05/0.2558, allocations: 19.98 kB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.964e-05/0.2558, allocations: 63.78 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.256, allocations: 51.95 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.385e-05/0.256, allocations: 27.86 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.391e-05/0.2561, allocations: 23.86 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.2561, allocations: 8 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-06/0.2561, allocations: 8 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.2562, allocations: 19.92 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.2562, allocations: 35.69 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.443e-05/0.2563, allocations: 71.97 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2563, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2563, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2563, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 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.0003595/0.2567, allocations: 376.9 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.2567, allocations: 8.625 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.2568, allocations: 46.73 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.372e-05/0.2568, allocations: 8.844 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.257, allocations: 188.2 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.257, allocations: 8.281 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.257, allocations: 16.3 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.2571, allocations: 91.95 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2572, allocations: 7.875 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.2572, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2572, allocations: 8 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.794e-05/0.2572, allocations: 39.92 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.2577, allocations: 432.6 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.59e-05/0.2578, allocations: 45.25 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.2578, allocations: 17.77 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.2578, allocations: 4 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.2579, allocations: 34.56 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2579, allocations: 0 / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/0.258, allocations: 53.73 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.2581, allocations: 81.11 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.2582, allocations: 162.2 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.2582, allocations: 25.7 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.2583, allocations: 100 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.2583, allocations: 7.906 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.2583, allocations: 21.7 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.2584, allocations: 314.8 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.2584, allocations: 11.98 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.253e-05/0.2585, allocations: 21.66 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.2585, allocations: 21.72 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2585, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.992e-05/0.2586, allocations: 65.53 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.2586, allocations: 7.938 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.2586, allocations: 4.062 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2586, allocations: 4 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.143e-05/0.2587, allocations: 4 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2587, allocations: 4 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.13e-05/0.2588, allocations: 11.84 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-06/0.2588, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 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 6.862e-05/0.2588, allocations: 113.8 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.2589, allocations: 15.78 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.2589, allocations: 15.86 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2589, allocations: 4 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2589, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.2589, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.2593, allocations: 466.8 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2593, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.2593, allocations: 4 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2593, allocations: 0 / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2593, allocations: 16 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2593, allocations: 3.938 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2593, allocations: 3.984 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.805e-05/0.2594, allocations: 73.84 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.2595, allocations: 89 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.2595, allocations: 0 / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.119e-05/0.2595, allocations: 4 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.2595, allocations: 8.125 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.2595, allocations: 0 / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.452e-05/0.2596, allocations: 122.1 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2596, allocations: 0 / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001807/0.2598, allocations: 8 kB / 1.057 GB, free: 3.473 MB / 0.8106 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.0003246/0.2601, allocations: 0.6209 MB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.898e-05/0.2602, allocations: 19.94 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2602, allocations: 0 / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.2602, allocations: 4 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000142/0.2604, allocations: 13.86 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.2614, allocations: 1.323 MB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.2617, allocations: 0.6924 MB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.668e-05/0.2617, allocations: 8.422 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.822e-05/0.2617, allocations: 23.44 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2617, allocations: 0 / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.277, allocations: 1.545 MB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.652/6.929, allocations: 7.922 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/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) Reference file matches