Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.004951/0.004951, allocations: 102 kB / 15.73 MB, free: 6.039 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.001111/0.00111, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.824/2.824, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 71.89 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3555, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002518/0.358, allocations: 0.8176 MB / 1.208 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001661/0.3582, allocations: 43.78 kB / 1.208 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.477e-05/0.3583, allocations: 0 / 1.208 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.036e-05/0.3584, allocations: 7.875 kB / 1.208 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.713e-05/0.3585, allocations: 11.86 kB / 1.208 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.669e-05/0.3586, allocations: 19.98 kB / 1.208 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.3587, allocations: 59.84 kB / 1.208 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.3589, allocations: 51.91 kB / 1.208 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.578e-05/0.359, allocations: 23.86 kB / 1.208 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.359, allocations: 27.86 kB / 1.208 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.3591, allocations: 12 kB / 1.208 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.3591, allocations: 4 kB / 1.208 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.3591, allocations: 15.92 kB / 1.208 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.3592, allocations: 35.69 kB / 1.208 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.3593, allocations: 83.91 kB / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3593, allocations: 0 / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3593, allocations: 0 / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3593, allocations: 0 / 1.208 GB, free: 8.934 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.0004789/0.3598, allocations: 375.2 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3599, allocations: 8.625 kB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.3599, allocations: 46.73 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.36, allocations: 8.844 kB / 1.209 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.3602, allocations: 196.1 kB / 1.209 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3602, allocations: 4.375 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.3602, allocations: 12.36 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.3604, allocations: 91.95 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3604, allocations: 7.875 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3604, allocations: 4 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3604, allocations: 8 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.577e-05/0.3605, allocations: 31.98 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.3611, allocations: 432.7 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.503e-05/0.3612, allocations: 41.16 kB / 1.21 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.3612, allocations: 25.77 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3612, allocations: 4 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.3613, allocations: 34.5 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.3613, allocations: 0 / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001832/0.3615, allocations: 49.55 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.3615, allocations: 89.23 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3617, allocations: 162.2 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.3617, allocations: 25.7 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.3618, allocations: 107.9 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.3618, allocations: 4 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.3618, allocations: 21.61 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3619, allocations: 314.8 kB / 1.21 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.362, allocations: 11.98 kB / 1.21 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.362, allocations: 21.66 kB / 1.211 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.211e-05/0.362, allocations: 29.72 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.362, allocations: 0 / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.237e-05/0.3621, allocations: 57.53 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3622, allocations: 9.5 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3622, allocations: 7.984 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3622, allocations: 4.062 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.3623, allocations: 4 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3623, allocations: 0 / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.3623, allocations: 11.94 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.3623, allocations: 3.938 kB / 1.211 GB, free: 6.441 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.92e-05/0.3624, allocations: 113.8 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.576e-05/0.3625, allocations: 11.94 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.3625, allocations: 15.84 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.3625, allocations: 0 / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.3625, allocations: 4 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3625, allocations: 0 / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.3629, allocations: 474.7 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3629, allocations: 4 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/0.3629, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3629, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.363, allocations: 4 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.363, allocations: 0 / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.363, allocations: 8.047 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.558e-05/0.3631, allocations: 77.78 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.3631, allocations: 93 kB / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3632, allocations: 0 / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.3632, allocations: 4 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.3632, allocations: 4.031 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.3632, allocations: 4 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.971e-05/0.3633, allocations: 121.7 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3633, allocations: 0 / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001929/0.3635, allocations: 8 kB / 1.212 GB, free: 5.402 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.0003853/0.3639, allocations: 0.6171 MB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.016e-05/0.364, allocations: 19.94 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.364, allocations: 0 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.364, allocations: 11.94 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.3642, allocations: 13.02 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.3655, allocations: 1.333 MB / 1.213 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.3658, allocations: 0.6889 MB / 1.214 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.3658, allocations: 8.422 kB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.102e-05/0.3659, allocations: 23.44 kB / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3659, allocations: 0 / 1.214 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.3838, allocations: 1.592 MB / 1.216 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.32/7.703, allocations: 4 kB / 1.216 GB, free: 1.051 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches