Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.0009635/0.0009635, allocations: 98.11 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.005603/0.005603, allocations: 170.4 kB / 16.27 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.29/1.29, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.546/2.546, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002889, allocations: 8.125 kB / 0.9029 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.254, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.0009369/0.2549, allocations: 0.5414 MB / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001053/0.2551, allocations: 47.77 kB / 1.059 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.2551, allocations: 4 kB / 1.059 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.2551, allocations: 3.938 kB / 1.059 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.2552, allocations: 3.938 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.272e-05/0.2553, allocations: 19.98 kB / 1.059 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.705e-05/0.2554, allocations: 55.84 kB / 1.059 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2555, allocations: 39.95 kB / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.2556, allocations: 19.88 kB / 1.059 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.769e-05/0.2556, allocations: 23.8 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.2556, allocations: 4 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-06/0.2556, allocations: 0 / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.2556, allocations: 7.938 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.2557, allocations: 57.44 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.108e-05/0.2558, allocations: 63.97 kB / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2558, allocations: 3.938 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2558, allocations: 0 / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.2558, allocations: 0 / 1.06 GB, free: 3.988 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.0003113/0.2561, allocations: 375.3 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2562, allocations: 11.97 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.2562, allocations: 38.75 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.2562, allocations: 8.844 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.2564, allocations: 196.1 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2564, allocations: 8.375 kB / 1.06 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.2564, allocations: 4.375 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.2566, allocations: 97.45 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.2566, allocations: 3.938 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2566, allocations: 4 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2566, allocations: 4 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.137e-05/0.2567, allocations: 39.91 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004454/0.2572, allocations: 436.5 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.858e-05/0.2572, allocations: 45.27 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.2573, allocations: 21.84 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.603e-06/0.2573, allocations: 0 / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2573, allocations: 34.56 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.2573, allocations: 0 / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001453/0.2574, allocations: 61.47 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.2575, allocations: 77.11 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.2576, allocations: 171.8 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2576, allocations: 25.7 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.2577, allocations: 99.95 kB / 1.061 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.435e-06/0.2577, allocations: 8.234 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.2577, allocations: 13.72 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.184e-05/0.2578, allocations: 318.8 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.2578, allocations: 7.984 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.2579, allocations: 17.72 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.2579, allocations: 21.72 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2579, allocations: 0 / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.976e-05/0.258, allocations: 69.53 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.258, allocations: 7.938 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.258, allocations: 4 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-06/0.258, allocations: 0 / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/0.2581, allocations: 8 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2581, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.269e-05/0.2581, allocations: 11.84 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.2581, allocations: 3.938 kB / 1.062 GB, free: 1.508 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.772e-05/0.2582, allocations: 121.8 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.2583, allocations: 15.83 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.2583, allocations: 11.88 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2583, allocations: 0 / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2583, allocations: 3.938 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2583, allocations: 0 / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.2586, allocations: 466.8 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2586, allocations: 4.062 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.2587, allocations: 4 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2587, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.2587, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2587, allocations: 7.984 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2587, allocations: 0 / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.803e-05/0.2588, allocations: 77.84 kB / 1.062 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.2588, allocations: 96.94 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.2588, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.2589, allocations: 0 / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.2589, allocations: 7.938 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-06/0.2589, allocations: 4 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.303e-05/0.259, allocations: 122.9 kB / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.259, allocations: 0 / 1.063 GB, free: 484 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001834/0.2592, allocations: 4 kB / 1.063 GB, free: 480 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.0003058/0.2595, allocations: 0.6171 MB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.399e-05/0.2595, allocations: 19.94 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2596, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.708e-06/0.2596, allocations: 4.156 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.2597, allocations: 17.14 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000975/0.2607, allocations: 1.34 MB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.2609, allocations: 0.6926 MB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.2609, allocations: 12.5 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.261, allocations: 22.56 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.261, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.2746, allocations: 1.372 MB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.2748, allocations: 220.7 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/1.86, allocations: 0 / 1.067 GB, free: 12.13 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches