Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.To_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.007901/0.007901, allocations: 100.1 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.001815/0.001815, allocations: 195.8 kB / 16.68 MB, free: 5.93 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.22/2.22, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.305/3.305, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002471/0.002471, allocations: 63.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361/1.363, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.003599/1.367, allocations: 0.8212 MB / 1.088 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001764/1.367, allocations: 40.92 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/1.367, allocations: 1.125 kB / 1.088 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.694e-05/1.367, allocations: 9.75 kB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/1.367, allocations: 13.59 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.803e-05/1.367, allocations: 21.12 kB / 1.088 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/1.368, allocations: 63.52 kB / 1.088 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/1.368, allocations: 37.03 kB / 1.088 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.997e-05/1.368, allocations: 30.88 kB / 1.088 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.697e-05/1.368, allocations: 30.98 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/1.368, allocations: 5.594 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.024e-05/1.368, allocations: 6.844 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/1.368, allocations: 16.12 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.446e-05/1.368, allocations: 32.16 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/1.368, allocations: 77.08 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.368, allocations: 0.7031 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.674e-06/1.368, allocations: 0 / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.585e-06/1.369, allocations: 5.062 kB / 1.089 GB, free: 4.523 MB / 0.8575 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.0005537/1.369, allocations: 376 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.283e-05/1.369, allocations: 9.656 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/1.369, allocations: 44.16 kB / 1.089 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/1.369, allocations: 12.91 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/1.37, allocations: 188.7 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/1.37, allocations: 4.188 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/1.37, allocations: 12.66 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/1.37, allocations: 90.09 kB / 1.089 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/1.37, allocations: 5 kB / 1.089 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/1.37, allocations: 9.859 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/1.37, allocations: 5.312 kB / 1.089 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/1.37, allocations: 39.67 kB / 1.089 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000884/1.371, allocations: 434.5 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/1.371, allocations: 50.08 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.239e-05/1.371, allocations: 15.72 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/1.371, allocations: 1.625 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.371, allocations: 40.25 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/1.371, allocations: 4 kB / 1.09 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002914/1.372, allocations: 56.97 kB / 1.09 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/1.372, allocations: 78.11 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/1.372, allocations: 158.9 kB / 1.09 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/1.372, allocations: 29.64 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/1.372, allocations: 103.6 kB / 1.09 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/1.372, allocations: 6.188 kB / 1.09 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/1.372, allocations: 22.64 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.697e-05/1.372, allocations: 319.6 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/1.372, allocations: 4.188 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/1.372, allocations: 24.09 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/1.372, allocations: 23.69 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.372, allocations: 0 / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001543/1.373, allocations: 65.2 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/1.373, allocations: 12.89 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.373, allocations: 1.156 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/1.373, allocations: 0 / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/1.373, allocations: 7.422 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.373, allocations: 0 / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/1.373, allocations: 7.453 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/1.373, allocations: 1.375 kB / 1.091 GB, free: 2.402 MB / 0.8575 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 8.98e-05/1.373, allocations: 118.2 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/1.373, allocations: 11.12 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/1.373, allocations: 13.38 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/1.373, allocations: 0.7031 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/1.373, allocations: 1.062 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.373, allocations: 0.75 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/1.374, allocations: 467.8 kB / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.374, allocations: 4 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/1.374, allocations: 7.125 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.374, allocations: 1.125 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/1.374, allocations: 1.578 kB / 1.091 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/1.374, allocations: 5.062 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.374, allocations: 0.6094 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/1.374, allocations: 81.08 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.965e-05/1.374, allocations: 93.33 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/1.374, allocations: 1.969 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.882e-05/1.374, allocations: 5.375 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/1.374, allocations: 2.016 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/1.374, allocations: 1.125 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001537/1.374, allocations: 124.4 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/1.375, allocations: 1.125 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003848/1.375, allocations: 6.875 kB / 1.092 GB, free: 1.484 MB / 0.8575 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.0005908/1.376, allocations: 0.6194 MB / 1.092 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001635/1.376, allocations: 24.14 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.376, allocations: 0 / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.734e-05/1.376, allocations: 9.156 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/1.376, allocations: 11.16 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/1.378, allocations: 1.325 MB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/1.379, allocations: 0.6938 MB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.42e-05/1.379, allocations: 11.25 kB / 1.094 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/1.379, allocations: 20.16 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/1.379, allocations: 0 / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/1.411, allocations: 1.569 MB / 1.096 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/13.18, allocations: 10.66 kB / 1.096 GB, free: 14.52 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches