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.005731/0.005731, allocations: 104.4 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.001227/0.001227, allocations: 196.8 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.933/2.933, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 64.11 kB / 1.054 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3699, 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.002369/0.3723, allocations: 0.8312 MB / 1.208 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001818/0.3725, allocations: 39.78 kB / 1.208 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.612e-05/0.3726, allocations: 0 / 1.208 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.91e-05/0.3727, allocations: 7.875 kB / 1.208 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.282e-05/0.3728, allocations: 11.94 kB / 1.208 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.093e-05/0.3729, allocations: 19.91 kB / 1.208 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.373, allocations: 71.78 kB / 1.208 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.3732, allocations: 39.92 kB / 1.208 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.953e-05/0.3733, allocations: 27.86 kB / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.01e-05/0.3733, allocations: 31.84 kB / 1.208 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.3734, allocations: 8 kB / 1.208 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.3734, allocations: 4 kB / 1.208 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.3734, allocations: 15.92 kB / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.3735, allocations: 31.81 kB / 1.208 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.3736, allocations: 87.78 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3736, allocations: 0 / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3736, allocations: 0 / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.3737, allocations: 0 / 1.208 GB, free: 8.918 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.0005508/0.3742, allocations: 375.2 kB / 1.209 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.3743, allocations: 16.62 kB / 1.209 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.3743, allocations: 38.73 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.3744, allocations: 8.844 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.3746, allocations: 192.2 kB / 1.209 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3746, allocations: 8.375 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.3747, allocations: 8.375 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3748, allocations: 89.5 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3749, allocations: 3.938 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3749, allocations: 12 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.3749, allocations: 0 / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.46e-05/0.375, allocations: 35.92 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.3756, allocations: 432.5 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.874e-05/0.3756, allocations: 41.28 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.3757, allocations: 21.84 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.3757, allocations: 3.984 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3757, allocations: 30.56 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3757, allocations: 0 / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001968/0.3759, allocations: 53.7 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.376, allocations: 85.14 kB / 1.21 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.3762, allocations: 162.2 kB / 1.21 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.3762, allocations: 25.7 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.3763, allocations: 107.9 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.436e-06/0.3763, allocations: 3.984 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.3763, allocations: 21.62 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3765, allocations: 318.8 kB / 1.21 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.3765, allocations: 15.88 kB / 1.21 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.3765, allocations: 29.69 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.3766, allocations: 25.66 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3766, allocations: 0 / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.178e-05/0.3767, allocations: 57.55 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3767, allocations: 11.94 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3767, allocations: 8.047 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3767, allocations: 0 / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.829e-05/0.3768, allocations: 4 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.3768, allocations: 4 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.402e-05/0.3769, allocations: 3.938 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.3769, allocations: 0 / 1.211 GB, free: 6.438 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 9.021e-05/0.377, allocations: 113.8 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.377, allocations: 11.84 kB / 1.211 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.975e-05/0.3771, allocations: 11.86 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3771, allocations: 4 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3771, allocations: 4 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3771, allocations: 3.938 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.3775, allocations: 470.7 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3775, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.3775, allocations: 7.938 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3775, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3776, allocations: 4 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3776, allocations: 4.062 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3776, allocations: 0 / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.3777, allocations: 81.83 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.3778, allocations: 85.02 kB / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3778, allocations: 7.984 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.3778, allocations: 0 / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.3778, allocations: 4.031 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.3778, allocations: 0 / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001001/0.3779, allocations: 125.6 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3779, allocations: 0 / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002014/0.3782, allocations: 12 kB / 1.212 GB, free: 5.395 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.000417/0.3786, allocations: 0.6132 MB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.3787, allocations: 15.94 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3787, allocations: 0 / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.3787, allocations: 8 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.3789, allocations: 18 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.001345/0.3803, allocations: 1.331 MB / 1.213 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.3806, allocations: 0.6928 MB / 1.214 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.831e-05/0.3806, allocations: 4.438 kB / 1.214 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.3807, allocations: 27.42 kB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3807, allocations: 4 kB / 1.214 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.4007, allocations: 1.599 MB / 1.216 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.945, allocations: 0 / 1.216 GB, free: 1.039 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