Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.00507/0.00507, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001381/0.001381, allocations: 197.8 kB / 16.67 MB, free: 5.926 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437.1 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 72.05 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7442/0.7459, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002068/0.7481, allocations: 0.8272 MB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001188/0.7482, allocations: 43.78 kB / 1.167 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.7483, allocations: 3.938 kB / 1.167 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.7483, allocations: 11.86 kB / 1.167 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.7484, allocations: 7.938 kB / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.589e-05/0.7485, allocations: 15.98 kB / 1.167 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.7486, allocations: 63.78 kB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.7488, allocations: 51.95 kB / 1.167 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.17e-05/0.7488, allocations: 23.92 kB / 1.167 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.914e-05/0.7489, allocations: 31.78 kB / 1.167 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.7489, allocations: 8 kB / 1.167 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.7489, allocations: 4 kB / 1.167 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.749, allocations: 11.94 kB / 1.167 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.515e-05/0.749, allocations: 39.73 kB / 1.167 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.7491, allocations: 75.36 kB / 1.167 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7492, allocations: 0 / 1.167 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7492, allocations: 0 / 1.167 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.7492, allocations: 0 / 1.167 GB, free: 2.527 MB / 0.8887 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.0004772/0.7497, allocations: 383.1 kB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.7497, allocations: 8.922 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.7497, allocations: 38.75 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.7498, allocations: 12.84 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.75, allocations: 204.1 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.75, allocations: 12.38 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.7501, allocations: 8.375 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.7502, allocations: 86.39 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.7502, allocations: 3.938 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.7503, allocations: 8 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.7503, allocations: 0 / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.064e-05/0.7504, allocations: 35.92 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.751, allocations: 444.6 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.304e-05/0.751, allocations: 41.28 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.934e-05/0.7511, allocations: 17.84 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.7511, allocations: 4 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.7511, allocations: 34.56 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.7511, allocations: 0 / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001714/0.7513, allocations: 57.52 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.7514, allocations: 85.05 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.7515, allocations: 156.5 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.7515, allocations: 29.7 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.7516, allocations: 108.3 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.248e-06/0.7516, allocations: 7.938 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.7517, allocations: 17.72 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.7518, allocations: 314.8 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.7518, allocations: 8 kB / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/0.7518, allocations: 17.72 kB / 1.169 GB, free: 176 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.7519, allocations: 29.72 kB / 1.169 GB, free: 140 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7519, allocations: 0 / 1.169 GB, free: 140 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.422e-05/0.752, allocations: 65.53 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.752, allocations: 7.938 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.752, allocations: 4 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.752, allocations: 0 / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.384e-05/0.7521, allocations: 4 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.7521, allocations: 0 / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.7521, allocations: 11.88 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-06/0.7521, allocations: 4.062 kB / 1.17 GB, free: 36 kB / 0.8887 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.985e-05/0.7522, allocations: 121.8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.7523, allocations: 11.89 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.7523, allocations: 7.875 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.7523, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.7523, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.7523, allocations: 4.094 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.7527, allocations: 474.7 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.7527, allocations: 7.984 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.7528, allocations: 7.984 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.7528, allocations: 4 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.7528, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.7528, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7528, allocations: 0 / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.404e-05/0.7529, allocations: 81.95 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.7529, allocations: 89.05 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.753, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.158e-05/0.753, allocations: 7.938 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-06/0.753, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.753, allocations: 0 / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.248e-05/0.7531, allocations: 121.9 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7531, allocations: 0 / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001799/0.7533, allocations: 16.03 kB / 1.17 GB, free: 14.98 MB / 0.9044 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.0003796/0.7537, allocations: 0.6093 MB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.275e-05/0.7538, allocations: 20.02 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7538, allocations: 12 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.189e-05/0.7538, allocations: 8 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.754, allocations: 6.344 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.7551, allocations: 1.334 MB / 1.172 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.7554, allocations: 0.6963 MB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.7555, allocations: 8.422 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.7555, allocations: 23.44 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.7555, allocations: 0 / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.1/1.855, allocations: 1.585 MB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/16.6, allocations: 11.33 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches