Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008075/0.008075, allocations: 101.7 kB / 15.73 MB, free: 6.062 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.001285/0.001285, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.633/2.633, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 71.83 kB / 1.065 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9738/0.9751, allocations: 159.1 MB / 1.221 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00263/0.9778, allocations: 0.8233 MB / 1.221 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001652/0.9779, allocations: 43.8 kB / 1.221 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/0.978, allocations: 0 / 1.221 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.685e-05/0.9781, allocations: 7.875 kB / 1.221 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.9782, allocations: 11.86 kB / 1.221 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.871e-05/0.9782, allocations: 23.97 kB / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.9784, allocations: 67.84 kB / 1.222 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.9785, allocations: 39.86 kB / 1.222 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.813e-05/0.9786, allocations: 27.8 kB / 1.222 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.9787, allocations: 27.86 kB / 1.222 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.9787, allocations: 4 kB / 1.222 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.9787, allocations: 8 kB / 1.222 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.9787, allocations: 15.92 kB / 1.222 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.9788, allocations: 35.75 kB / 1.222 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.9789, allocations: 76.12 kB / 1.222 GB, free: 0.918 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9789, allocations: 4 kB / 1.222 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9789, allocations: 4 kB / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.9789, allocations: 0 / 1.222 GB, free: 0.9102 MB / 0.9356 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.00051/0.9794, allocations: 371.2 kB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.9795, allocations: 12.03 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.9795, allocations: 12.84 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.9797, allocations: 196.2 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.9798, allocations: 384 / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.9798, allocations: 12.38 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.9799, allocations: 91.89 kB / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.98, allocations: 192 / 1.222 GB, free: 132 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.98, allocations: 7.938 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.98, allocations: 4 kB / 1.222 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.227e-05/0.9801, allocations: 43.86 kB / 1.223 GB, free: 76 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007873/0.9809, allocations: 440.7 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.685e-05/0.9809, allocations: 49.25 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.9811, allocations: 13.78 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.9811, allocations: 0 / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.9811, allocations: 30.56 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.9811, allocations: 8 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0002134/0.9813, allocations: 61.52 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.9814, allocations: 77.11 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.9815, allocations: 156.7 kB / 1.223 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.9816, allocations: 29.7 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.9816, allocations: 104 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.9817, allocations: 11.89 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/0.9817, allocations: 17.92 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.9818, allocations: 326.8 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.9819, allocations: 4 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.9819, allocations: 17.72 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.9819, allocations: 25.66 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.9819, allocations: 0 / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001169/0.9821, allocations: 69.58 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.9821, allocations: 5.719 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.9821, allocations: 3.938 kB / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.9821, allocations: 0 / 1.224 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.9822, allocations: 8 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9822, allocations: 0 / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.9822, allocations: 11.92 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.9822, allocations: 0 / 1.224 GB, free: 14.47 MB / 0.9512 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.112e-05/0.9823, allocations: 113.8 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.9824, allocations: 12.02 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.9824, allocations: 15.81 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.9824, allocations: 0 / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9824, allocations: 0 / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.9824, allocations: 0 / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004609/0.9829, allocations: 474.7 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9829, allocations: 0 / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.9829, allocations: 8.062 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9829, allocations: 0 / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.9829, allocations: 0 / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.9829, allocations: 4 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9829, allocations: 0 / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.49e-05/0.983, allocations: 89.89 kB / 1.225 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.9831, allocations: 89 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.9831, allocations: 4.031 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.9831, allocations: 0 / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.9832, allocations: 0 / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.9832, allocations: 8 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.514e-05/0.9833, allocations: 125.1 kB / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9833, allocations: 0 / 1.225 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001966/0.9834, allocations: 7.938 kB / 1.225 GB, free: 13.42 MB / 0.9512 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.0001571/0.9836, allocations: 103.2 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.9837, allocations: 19.94 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9837, allocations: 4 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.25e-05/0.9837, allocations: 4 kB / 1.225 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.9839, allocations: 11.84 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/0.9844, allocations: 166.5 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.9847, allocations: 0.697 MB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.894e-05/0.9847, allocations: 8.422 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.9847, allocations: 11.44 kB / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.9847, allocations: 0 / 1.226 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of Templates: time 0.002725/0.9875, allocations: 461.3 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches