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.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001546/0.001546, allocations: 194.3 kB / 16.14 MB, free: 6.652 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.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.382/2.382, allocations: 461.8 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 62.19 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2216, allocations: 157.4 MB / 1.052 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001822/0.2235, allocations: 0.8803 MB / 1.053 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.263e-05/0.2236, allocations: 39.78 kB / 1.053 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.2236, allocations: 4 kB / 1.053 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.2237, allocations: 3.938 kB / 1.053 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.251e-05/0.2237, allocations: 11.92 kB / 1.053 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.831e-05/0.2238, allocations: 16 kB / 1.053 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.933e-05/0.2239, allocations: 55.84 kB / 1.053 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.224, allocations: 43.97 kB / 1.053 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.224, allocations: 27.8 kB / 1.053 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.2241, allocations: 27.84 kB / 1.053 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.2241, allocations: 4 kB / 1.053 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.2241, allocations: 4 kB / 1.053 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.2241, allocations: 15.92 kB / 1.053 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.271e-05/0.2242, allocations: 35.75 kB / 1.053 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.716e-05/0.2243, allocations: 63.98 kB / 1.053 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2243, allocations: 0 / 1.053 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.51e-07/0.2243, allocations: 0 / 1.053 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2243, allocations: 0 / 1.053 GB, free: 6.984 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.0003438/0.2246, allocations: 379.3 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2247, allocations: 11.97 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.345e-05/0.2247, allocations: 46.73 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.2247, allocations: 12.78 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.2249, allocations: 192.1 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2249, allocations: 12.28 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.2249, allocations: 4.375 kB / 1.054 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.2251, allocations: 103.9 kB / 1.054 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2251, allocations: 7.875 kB / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.2251, allocations: 0 / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2251, allocations: 7.984 kB / 1.054 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.6e-05/0.2252, allocations: 35.98 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.2256, allocations: 436.5 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.554e-05/0.2257, allocations: 37.22 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.193e-05/0.2257, allocations: 21.77 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-06/0.2258, allocations: 0 / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.2258, allocations: 42.59 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.2258, allocations: 0 / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001433/0.2259, allocations: 53.48 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.226, allocations: 77.11 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.2261, allocations: 169.6 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.2261, allocations: 25.7 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.2262, allocations: 100 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.2262, allocations: 8.156 kB / 1.055 GB, free: 5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.2262, allocations: 21.72 kB / 1.055 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.274e-05/0.2263, allocations: 318.8 kB / 1.055 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.2263, allocations: 4 kB / 1.055 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.2264, allocations: 21.7 kB / 1.055 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.2264, allocations: 29.66 kB / 1.055 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2264, allocations: 4 kB / 1.055 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.177e-05/0.2265, allocations: 53.61 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.2265, allocations: 13.33 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2265, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2266, allocations: 4 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.099e-05/0.2266, allocations: 4 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2266, allocations: 3.938 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.2267, allocations: 11.84 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.2267, allocations: 0 / 1.056 GB, free: 4.488 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.619e-05/0.2267, allocations: 117.9 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.102e-05/0.2268, allocations: 11.84 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.2268, allocations: 15.86 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2268, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2268, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.2268, allocations: 7.875 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.2272, allocations: 478.8 kB / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2272, allocations: 0 / 1.056 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.2272, allocations: 4 kB / 1.056 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2272, allocations: 0 / 1.056 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.2272, allocations: 0 / 1.056 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2272, allocations: 8 kB / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2272, allocations: 0 / 1.056 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.841e-05/0.2273, allocations: 85.8 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.2273, allocations: 93 kB / 1.056 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.2274, allocations: 0 / 1.056 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.925e-05/0.2274, allocations: 0 / 1.056 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.2274, allocations: 4 kB / 1.056 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.2274, allocations: 0 / 1.056 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.33e-05/0.2275, allocations: 119.2 kB / 1.056 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2275, allocations: 0 / 1.056 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001755/0.2277, allocations: 8 kB / 1.056 GB, free: 3.441 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.0003027/0.228, allocations: 0.6171 MB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.965e-05/0.228, allocations: 16 kB / 1.057 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.2281, allocations: 0 / 1.057 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.09e-05/0.2281, allocations: 8.156 kB / 1.057 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.2282, allocations: 13.83 kB / 1.057 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009724/0.2292, allocations: 1.34 MB / 1.058 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.2294, allocations: 0.6926 MB / 1.059 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.2295, allocations: 8.422 kB / 1.059 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.2295, allocations: 23.44 kB / 1.059 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.2295, allocations: 0 / 1.059 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009903/0.2394, allocations: 1.422 MB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.2396, allocations: 220.4 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/1.718, allocations: 5.125 kB / 1.061 GB, free: 15 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