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.001852/0.001852, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002446/0.002447, allocations: 195.9 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.47/2.47, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.979/4.979, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 64.47 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4263, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.004022/0.4303, allocations: 0.8997 MB / 1.053 GB, free: 7.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001988/0.4306, allocations: 43.78 kB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.4307, allocations: 0 / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.301e-05/0.4308, allocations: 3.938 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.4309, allocations: 7.938 kB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.229e-05/0.431, allocations: 15.98 kB / 1.053 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.4312, allocations: 55.86 kB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.4315, allocations: 51.95 kB / 1.053 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.164e-05/0.4316, allocations: 23.88 kB / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.712e-05/0.4317, allocations: 31.83 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.4317, allocations: 8 kB / 1.054 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.4317, allocations: 4 kB / 1.054 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.4318, allocations: 15.88 kB / 1.054 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.4318, allocations: 47.73 kB / 1.054 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.432, allocations: 67.98 kB / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.432, allocations: 0 / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.432, allocations: 0 / 1.054 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.607e-06/0.432, allocations: 0 / 1.054 GB, free: 7.352 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.0007756/0.4328, allocations: 375.3 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/0.4329, allocations: 8.625 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.343e-05/0.433, allocations: 38.75 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.433, allocations: 8.844 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/0.4334, allocations: 200.1 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.4334, allocations: 12.22 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.4334, allocations: 8.375 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.4337, allocations: 89.2 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4337, allocations: 7.875 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.4337, allocations: 4 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.4338, allocations: 4 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.4339, allocations: 35.92 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008678/0.4348, allocations: 444.6 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.46e-05/0.4349, allocations: 37.25 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.539e-05/0.4349, allocations: 21.78 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.4349, allocations: 4 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.4351, allocations: 30.56 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.4351, allocations: 0 / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002487/0.4353, allocations: 57.47 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.4354, allocations: 77.36 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.4357, allocations: 168.8 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.4357, allocations: 25.7 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.4358, allocations: 108 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.4359, allocations: 3.906 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.4359, allocations: 13.72 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002577/0.4362, allocations: 318.8 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.4362, allocations: 8 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/0.4363, allocations: 25.66 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.4364, allocations: 29.7 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4364, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001393/0.4365, allocations: 53.55 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.4366, allocations: 7.938 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4366, allocations: 4.094 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4366, allocations: 3.984 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.4367, allocations: 16.05 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4367, allocations: 0 / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.4368, allocations: 11.84 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.4368, allocations: 0 / 1.056 GB, free: 4.867 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.0001174/0.4369, allocations: 113.8 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.437, allocations: 11.84 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.4371, allocations: 7.875 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4371, allocations: 0 / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.4371, allocations: 4 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4371, allocations: 11.92 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/0.4378, allocations: 474.8 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4378, allocations: 3.938 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.4379, allocations: 4 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4379, allocations: 3.938 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.4379, allocations: 4 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.4379, allocations: 0 / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4379, allocations: 64 / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.4381, allocations: 85.83 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-05/0.4382, allocations: 85.02 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.4382, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.4382, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.4383, allocations: 7.984 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.4383, allocations: 4.031 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001354/0.4384, allocations: 115.3 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4384, allocations: 0 / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003901/0.4388, allocations: 15.98 kB / 1.057 GB, free: 3.82 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.0005426/0.4394, allocations: 0.6093 MB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.4395, allocations: 23.92 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4395, allocations: 0 / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.4396, allocations: 8 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.4399, allocations: 9.562 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.4418, allocations: 1.339 MB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/0.4422, allocations: 0.6931 MB / 1.059 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.768e-05/0.4423, allocations: 8.438 kB / 1.059 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.4424, allocations: 27.42 kB / 1.059 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.4424, allocations: 0 / 1.059 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.4608, allocations: 1.477 MB / 1.061 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003886/0.4613, allocations: 210.7 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.082, allocations: 3.938 kB / 1.061 GB, free: 15.36 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