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.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_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.005836/0.005836, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001247/0.001247, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.88/2.88, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.91 kB / 1.054 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3346, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002384/0.337, allocations: 0.8215 MB / 1.208 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001673/0.3372, allocations: 43.78 kB / 1.208 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.3373, allocations: 8 kB / 1.208 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.912e-05/0.3374, allocations: 7.875 kB / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.997e-05/0.3375, allocations: 3.938 kB / 1.208 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.758e-05/0.3376, allocations: 19.97 kB / 1.208 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.3377, allocations: 67.78 kB / 1.208 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.3379, allocations: 43.91 kB / 1.208 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.338, allocations: 31.86 kB / 1.208 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.338, allocations: 23.86 kB / 1.208 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3381, allocations: 4 kB / 1.208 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.3381, allocations: 8 kB / 1.208 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.3381, allocations: 23.91 kB / 1.208 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.413e-05/0.3382, allocations: 35.62 kB / 1.208 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.3383, allocations: 79.92 kB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3383, allocations: 0 / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3383, allocations: 0 / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3383, allocations: 0 / 1.208 GB, free: 8.969 MB / 0.9669 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.0004877/0.3388, allocations: 379.2 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3389, allocations: 8.625 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.3389, allocations: 42.73 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.339, allocations: 8.844 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.3392, allocations: 204.1 kB / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3392, allocations: 384 / 1.209 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.3392, allocations: 12.38 kB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3394, allocations: 93.5 kB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3394, allocations: 3.938 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3394, allocations: 4 kB / 1.209 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3394, allocations: 4 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.107e-05/0.3395, allocations: 39.92 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.3401, allocations: 428.5 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.3402, allocations: 41.34 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.3402, allocations: 17.78 kB / 1.21 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.3402, allocations: 3.984 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.3403, allocations: 34.56 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.3403, allocations: 0 / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001779/0.3405, allocations: 57.48 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.3405, allocations: 85.05 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3407, allocations: 158.2 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3407, allocations: 25.7 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/0.3408, allocations: 107.9 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.3408, allocations: 4 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.3408, allocations: 21.62 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3409, allocations: 319.1 kB / 1.21 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.341, allocations: 8 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.482e-05/0.341, allocations: 25.64 kB / 1.211 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.984e-05/0.3411, allocations: 21.72 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3411, allocations: 0 / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.313e-05/0.3412, allocations: 61.55 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3412, allocations: 12 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3412, allocations: 3.984 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3412, allocations: 4 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.3413, allocations: 4 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3413, allocations: 3.938 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.403e-05/0.3413, allocations: 7.938 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.3413, allocations: 0 / 1.211 GB, free: 6.488 MB / 0.9669 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 7.956e-05/0.3414, allocations: 117.8 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.3415, allocations: 11.84 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.3415, allocations: 15.86 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3415, allocations: 0 / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3415, allocations: 0 / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3415, allocations: 0 / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.3419, allocations: 478.7 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.342, allocations: 0 / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.342, allocations: 4 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.342, allocations: 4.062 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.342, allocations: 4 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.342, allocations: 0 / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.342, allocations: 0 / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.732e-05/0.3421, allocations: 81.92 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.3422, allocations: 93 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.3422, allocations: 3.984 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.97e-05/0.3422, allocations: 7.969 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.3422, allocations: 4 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.3422, allocations: 0 / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.286e-05/0.3423, allocations: 121.7 kB / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3423, allocations: 0 / 1.212 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001959/0.3425, allocations: 12 kB / 1.212 GB, free: 5.438 MB / 0.9669 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.0003781/0.3429, allocations: 0.6093 MB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.644e-05/0.343, allocations: 19.94 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.343, allocations: 0 / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.221e-05/0.3431, allocations: 11.94 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.3432, allocations: 13.03 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.3444, allocations: 1.323 MB / 1.213 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.3447, allocations: 0.6963 MB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.542e-05/0.3447, allocations: 4.438 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.3448, allocations: 27.42 kB / 1.214 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.3448, allocations: 4 kB / 1.214 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.3646, allocations: 1.605 MB / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.885, allocations: 10.41 kB / 1.216 GB, free: 1.102 MB / 0.9669 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