Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.From_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_latest_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.0009545/0.0009548, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00753/0.00753, allocations: 168.8 kB / 16.26 MB, free: 6.66 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.277/1.277, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.512/2.512, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003055, allocations: 13.75 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2318, allocations: 159.6 MB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.0009225/0.2327, allocations: 0.5491 MB / 1.059 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.875e-05/0.2328, allocations: 43.78 kB / 1.059 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.2329, allocations: 4 kB / 1.059 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.2329, allocations: 3.938 kB / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.233, allocations: 7.922 kB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.821e-05/0.233, allocations: 16 kB / 1.059 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.32e-05/0.2331, allocations: 59.84 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2333, allocations: 35.97 kB / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.2333, allocations: 19.86 kB / 1.059 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.2333, allocations: 19.81 kB / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2334, allocations: 0 / 1.06 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.2334, allocations: 4 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.2334, allocations: 7.922 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.2335, allocations: 61.44 kB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.916e-05/0.2335, allocations: 63.98 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2335, allocations: 4 kB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2336, allocations: 0 / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.2336, allocations: 0 / 1.06 GB, free: 4 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.0003468/0.2339, allocations: 367.3 kB / 1.06 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.234, allocations: 11.97 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.234, allocations: 38.75 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.234, allocations: 8.844 kB / 1.06 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.2342, allocations: 192.1 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2342, allocations: 12.38 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.2342, allocations: 8.375 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.2344, allocations: 89.36 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.2344, allocations: 7.922 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.2344, allocations: 7.938 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2344, allocations: 4 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.528e-05/0.2345, allocations: 31.92 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.2349, allocations: 448.5 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/0.235, allocations: 37.34 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.235, allocations: 17.78 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.235, allocations: 4 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.2351, allocations: 34.56 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2351, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001418/0.2352, allocations: 57.47 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.2353, allocations: 77.11 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2354, allocations: 171.8 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.2354, allocations: 33.64 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.2355, allocations: 107.9 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.582e-06/0.2355, allocations: 4 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.2355, allocations: 9.719 kB / 1.061 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/0.2356, allocations: 322.8 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.2356, allocations: 4 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.916e-05/0.2356, allocations: 17.72 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.2357, allocations: 29.72 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2357, allocations: 0 / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.734e-05/0.2358, allocations: 57.53 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2358, allocations: 11.94 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2358, allocations: 4 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.2358, allocations: 0 / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.2359, allocations: 4 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2359, allocations: 4 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.2359, allocations: 11.91 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.2359, allocations: 3.984 kB / 1.062 GB, free: 1.523 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 5.86e-05/0.236, allocations: 117.8 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.236, allocations: 11.84 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.2361, allocations: 11.88 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.2361, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2361, allocations: 4 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2361, allocations: 0 / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.2364, allocations: 478.7 kB / 1.062 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.2364, allocations: 3.984 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.645e-05/0.2364, allocations: 0 / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.2365, allocations: 4 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.2365, allocations: 0 / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2365, allocations: 0 / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2365, allocations: 0 / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.753e-05/0.2365, allocations: 77.91 kB / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.2366, allocations: 96.91 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.2366, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.2366, allocations: 4 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.2367, allocations: 3.938 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.2367, allocations: 0 / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.251e-05/0.2367, allocations: 122.1 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2367, allocations: 4.031 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001771/0.2369, allocations: 8 kB / 1.063 GB, free: 496 kB / 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.000309/0.2372, allocations: 0.6093 MB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.36e-05/0.2373, allocations: 31.89 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2373, allocations: 0 / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.004e-05/0.2373, allocations: 4 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.2375, allocations: 8 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009534/0.2384, allocations: 1.339 MB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.2386, allocations: 0.6926 MB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.2387, allocations: 8.375 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.2387, allocations: 31.42 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2387, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6876/0.9264, allocations: 1.362 MB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.9266, allocations: 218.9 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.493, allocations: 0 / 1.067 GB, free: 12.12 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches