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.001277/0.001277, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.662/2.662, allocations: 461.9 MB / 0.7347 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 66.53 kB / 0.8992 GB, free: 36.87 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3415, allocations: 157.4 MB / 1.053 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002434/0.344, allocations: 0.8372 MB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001602/0.3442, allocations: 39.78 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.3443, allocations: 0 / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/0.3444, allocations: 15.86 kB / 1.054 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.594e-05/0.3445, allocations: 7.875 kB / 1.054 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.022e-05/0.3445, allocations: 19.98 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.3446, allocations: 59.84 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.3448, allocations: 51.95 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.158e-05/0.3449, allocations: 27.86 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.625e-05/0.3449, allocations: 23.86 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.3449, allocations: 4 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.139e-05/0.345, allocations: 8 kB / 1.054 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.345, allocations: 19.86 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.345, allocations: 35.75 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.3452, allocations: 75.91 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3452, allocations: 4 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3452, allocations: 0 / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3452, allocations: 0 / 1.054 GB, free: 7 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.0004809/0.3457, allocations: 368.9 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3457, allocations: 12.62 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.28e-05/0.3458, allocations: 42.73 kB / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.3459, allocations: 12.84 kB / 1.055 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.3461, allocations: 196.1 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.3462, allocations: 8.281 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.3462, allocations: 8.375 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3464, allocations: 97.66 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.3464, allocations: 3.938 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3464, allocations: 3.938 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3464, allocations: 0 / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3465, allocations: 39.92 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/0.3472, allocations: 440.6 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.175e-05/0.3473, allocations: 37.31 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.3473, allocations: 21.72 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.3473, allocations: 3.984 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3474, allocations: 34.56 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.3474, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002002/0.3476, allocations: 57.48 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.3476, allocations: 77.11 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.3478, allocations: 166.4 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3478, allocations: 25.7 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.314e-05/0.3479, allocations: 100 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.266e-06/0.3479, allocations: 3.906 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.348, allocations: 17.72 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3481, allocations: 322.8 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.3481, allocations: 7.938 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.3482, allocations: 21.7 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/0.3482, allocations: 25.72 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3482, allocations: 0 / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.741e-05/0.3483, allocations: 61.55 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3484, allocations: 7.938 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3484, allocations: 3.984 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3484, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.3485, allocations: 8 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3485, allocations: 4.062 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.69e-05/0.3485, allocations: 15.78 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.3485, allocations: 4 kB / 1.056 GB, free: 4.516 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 0.0001014/0.3486, allocations: 113.8 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.3487, allocations: 11.84 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.3487, allocations: 11.86 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3487, allocations: 4 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3487, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3487, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.3492, allocations: 474.7 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3493, allocations: 0 / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.3493, allocations: 11.94 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3493, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3493, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3493, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3493, allocations: 4 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.343e-05/0.3494, allocations: 81.89 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.962e-05/0.3495, allocations: 85.02 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.3495, allocations: 3.984 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.186e-05/0.3496, allocations: 4 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.3496, allocations: 0 / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3496, allocations: 4 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.384e-05/0.3497, allocations: 126.1 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.054e-06/0.3497, allocations: 0 / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002097/0.3499, allocations: 7.938 kB / 1.057 GB, free: 3.48 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.0004472/0.3504, allocations: 0.6133 MB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.97e-05/0.3505, allocations: 23.94 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3505, allocations: 0 / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.3505, allocations: 4 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.3507, allocations: 8 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.3519, allocations: 1.322 MB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3521, allocations: 0.6963 MB / 1.06 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.289e-05/0.3522, allocations: 12.42 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.3522, allocations: 23.44 kB / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.3522, allocations: 0 / 1.06 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.3695, allocations: 1.546 MB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/7.24, allocations: 13.67 kB / 1.061 GB, free: 15.16 MB / 0.8262 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