Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_Btu,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_9_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.01284/0.01284, allocations: 101.8 kB / 15.73 MB, free: 6 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.002743/0.002743, allocations: 193.5 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.376/1.376, 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 9.1.3-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 67.91 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8933/0.8955, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002386/0.898, allocations: 0.8275 MB / 1.088 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001655/0.8982, allocations: 41.02 kB / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.8983, allocations: 1.25 kB / 1.088 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.216e-05/0.8983, allocations: 9.938 kB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.967e-05/0.8984, allocations: 5.984 kB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.814e-05/0.8985, allocations: 19.95 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.8986, allocations: 71.16 kB / 1.088 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.8988, allocations: 37.39 kB / 1.088 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.732e-05/0.8989, allocations: 22.48 kB / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.899, allocations: 30.2 kB / 1.089 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.899, allocations: 9.781 kB / 1.089 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.899, allocations: 6.344 kB / 1.089 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.891e-05/0.899, allocations: 16.56 kB / 1.089 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.8991, allocations: 32.5 kB / 1.089 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.8993, allocations: 82.11 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8993, allocations: 0.9062 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/0.8993, allocations: 0 / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.8993, allocations: 0.7969 kB / 1.089 GB, free: 4.531 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.0004294/0.8997, allocations: 376.4 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.8998, allocations: 17.41 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.8998, allocations: 39.27 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.8999, allocations: 13.67 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.9001, allocations: 192.3 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.9001, allocations: 7.75 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.9001, allocations: 5.5 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.9003, allocations: 93.95 kB / 1.089 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.9003, allocations: 3.938 kB / 1.089 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.9003, allocations: 9.062 kB / 1.089 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.9003, allocations: 2.094 kB / 1.089 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.9004, allocations: 39.94 kB / 1.089 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.901, allocations: 437.8 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.001e-05/0.901, allocations: 49.66 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.9011, allocations: 25.23 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.9011, allocations: 1.125 kB / 1.09 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.9011, allocations: 32.33 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.9011, allocations: 0 / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000179/0.9013, allocations: 57.09 kB / 1.09 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.9013, allocations: 82.97 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.9015, allocations: 158 kB / 1.09 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.9015, allocations: 25.7 kB / 1.09 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.9016, allocations: 103.6 kB / 1.09 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.147e-06/0.9016, allocations: 10.22 kB / 1.09 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.9016, allocations: 18.7 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.9017, allocations: 319.1 kB / 1.091 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.9017, allocations: 11.59 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.9017, allocations: 17.72 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.9018, allocations: 26.61 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.9018, allocations: 0 / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.498e-05/0.9018, allocations: 57.73 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.9019, allocations: 9.578 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.9019, allocations: 5.125 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.9019, allocations: 0 / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.902, allocations: 7.688 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.902, allocations: 0 / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.902, allocations: 6.188 kB / 1.091 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.902, allocations: 2.797 kB / 1.091 GB, free: 2.41 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 5.691e-05/0.9021, allocations: 113.9 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.9022, allocations: 12.59 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.9022, allocations: 11.16 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.9022, allocations: 13.75 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9022, allocations: 1.031 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9022, allocations: 1.031 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.9025, allocations: 466.2 kB / 1.091 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.9026, allocations: 4.812 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.9026, allocations: 3.969 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9026, allocations: 1.125 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.9026, allocations: 0.7656 kB / 1.091 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.9026, allocations: 8.969 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9026, allocations: 1.188 kB / 1.091 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.332e-05/0.9027, allocations: 75.94 kB / 1.091 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.9028, allocations: 94.89 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.9028, allocations: 2 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.9028, allocations: 4 kB / 1.092 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.9028, allocations: 5.922 kB / 1.092 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.9028, allocations: 5.906 kB / 1.092 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.664e-05/0.9029, allocations: 122 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.9029, allocations: 0 / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000199/0.9032, allocations: 7.781 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.0004656/0.9036, allocations: 0.6155 MB / 1.092 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.9038, allocations: 19.08 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.9038, allocations: 1.188 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.9038, allocations: 4.422 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.904, allocations: 11.98 kB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.9054, allocations: 1.328 MB / 1.094 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.9058, allocations: 0.6924 MB / 1.094 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.9058, allocations: 7.188 kB / 1.094 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.9059, allocations: 29 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9059, allocations: 0.75 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.9246, allocations: 1.587 MB / 1.096 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.868/8.792, allocations: 5.344 kB / 1.096 GB, free: 14.53 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches