Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_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.001455/0.001455, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.619/2.619, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 62.86 kB / 0.9087 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2546, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00192/0.2566, allocations: 0.821 MB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000102/0.2567, allocations: 51.78 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.2568, allocations: 0 / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.2568, allocations: 11.86 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-05/0.2569, allocations: 7.875 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.354e-05/0.2569, allocations: 15.98 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.393e-05/0.257, allocations: 67.83 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.2572, allocations: 39.97 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.2572, allocations: 31.8 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.2573, allocations: 27.86 kB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.2573, allocations: 4 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.2573, allocations: 8 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.2573, allocations: 15.92 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.821e-05/0.2574, allocations: 39.75 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.418e-05/0.2575, allocations: 71.97 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2575, allocations: 0 / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2575, allocations: 3.938 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2575, allocations: 0 / 1.065 GB, free: 13.01 MB / 0.8262 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.0003904/0.2579, allocations: 369.7 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2579, allocations: 12.03 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.258, allocations: 42.73 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.258, allocations: 12.75 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.2582, allocations: 200.1 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2582, allocations: 4.375 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.2583, allocations: 8.375 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.2584, allocations: 97.12 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2584, allocations: 3.938 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.2584, allocations: 4 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2584, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.06e-05/0.2585, allocations: 35.98 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.259, allocations: 440.5 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.181e-05/0.2591, allocations: 37.16 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.2591, allocations: 25.83 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-06/0.2591, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2592, allocations: 38.59 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.2592, allocations: 0 / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.2593, allocations: 57.48 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.2594, allocations: 77.11 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.2595, allocations: 172.9 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.2595, allocations: 25.7 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.2596, allocations: 101.9 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-06/0.2596, allocations: 3.906 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.2597, allocations: 17.72 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2598, allocations: 322.8 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.2598, allocations: 4 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.2598, allocations: 25.7 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.2599, allocations: 25.66 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.2599, allocations: 0 / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.127e-05/0.26, allocations: 53.61 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.26, allocations: 15.92 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.26, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.26, allocations: 96 / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.2601, allocations: 4.062 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2601, allocations: 11.94 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.2601, allocations: 11.83 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.2601, allocations: 4 kB / 1.067 GB, free: 10.52 MB / 0.8262 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 7.294e-05/0.2602, allocations: 113.8 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.2603, allocations: 15.78 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.98e-05/0.2603, allocations: 15.86 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2603, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.2603, allocations: 4 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.2603, allocations: 4 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.2607, allocations: 466.8 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2607, allocations: 4 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.822e-05/0.2607, allocations: 4 kB / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2607, allocations: 0 / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-06/0.2607, allocations: 0 / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2607, allocations: 0 / 1.068 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2608, allocations: 3.984 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.468e-05/0.2608, allocations: 93.83 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.2609, allocations: 85 kB / 1.068 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.2609, allocations: 4 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.89e-05/0.2609, allocations: 0 / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-06/0.261, allocations: 0 / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.261, allocations: 0 / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.797e-05/0.2611, allocations: 128.7 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2611, allocations: 0 / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001734/0.2612, allocations: 8 kB / 1.068 GB, free: 9.48 MB / 0.8262 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.0003731/0.2616, allocations: 0.6248 MB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.338e-05/0.2617, allocations: 16 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.2617, allocations: 0 / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.2617, allocations: 11.94 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.2619, allocations: 4 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.2631, allocations: 1.315 MB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.2633, allocations: 0.6924 MB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.2634, allocations: 12.42 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.2634, allocations: 19.44 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2634, allocations: 0 / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4997/0.7631, allocations: 1.543 MB / 1.072 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.1, allocations: 13.58 kB / 1.072 GB, free: 5.152 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches