Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001358/0.001358, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001292/0.001292, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.559/2.559, allocations: 469.4 MB / 0.7423 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.44 kB / 0.9083 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.332, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002745/0.3348, allocations: 0.8727 MB / 1.065 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001969/0.335, allocations: 43.84 kB / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-05/0.3351, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.112e-05/0.3352, allocations: 7.922 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.3353, allocations: 7.938 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.596e-05/0.3354, allocations: 15.98 kB / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3355, allocations: 59.8 kB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.3357, allocations: 43.95 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/0.3358, allocations: 27.86 kB / 1.065 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.548e-05/0.3358, allocations: 31.84 kB / 1.065 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.3359, allocations: 4 kB / 1.065 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.505e-05/0.3359, allocations: 8 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.3359, allocations: 15.92 kB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.336, allocations: 43.67 kB / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.3361, allocations: 48.19 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3361, allocations: 0 / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3361, allocations: 0 / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3361, allocations: 0 / 1.065 GB, free: 14.16 MB / 0.8419 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.0005285/0.3367, allocations: 383.2 kB / 1.065 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3367, allocations: 8.031 kB / 1.065 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.3368, allocations: 12.75 kB / 1.065 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.337, allocations: 200.2 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.337, allocations: 4.375 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3371, allocations: 8.375 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.3373, allocations: 89.92 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3373, allocations: 192 / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.3373, allocations: 15.94 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3373, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.522e-05/0.3374, allocations: 35.98 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006091/0.338, allocations: 436.5 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.232e-05/0.3381, allocations: 37.16 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.3381, allocations: 21.84 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.3381, allocations: 4.031 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3382, allocations: 30.56 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.3382, allocations: 0 / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0002074/0.3384, allocations: 69.47 kB / 1.066 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.3385, allocations: 77.11 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.3387, allocations: 160.3 kB / 1.066 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3387, allocations: 25.7 kB / 1.066 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/0.3388, allocations: 111.9 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.3388, allocations: 3.906 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.3389, allocations: 17.72 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.339, allocations: 323.1 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.3391, allocations: 4 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.3391, allocations: 21.72 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.3391, allocations: 25.66 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3391, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.754e-05/0.3392, allocations: 57.59 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3393, allocations: 12.06 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3393, allocations: 3.938 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.3393, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.3394, allocations: 7.938 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3394, allocations: 7.984 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.463e-05/0.3394, allocations: 11.78 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.3394, allocations: 4 kB / 1.067 GB, free: 11.72 MB / 0.8419 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.712e-05/0.3395, allocations: 109.8 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.3396, allocations: 7.906 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.3396, allocations: 19.81 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3396, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.3397, allocations: 8 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3397, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004095/0.3401, allocations: 470.8 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3401, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.3401, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3401, allocations: 64 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3401, allocations: 4 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3401, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3401, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.968e-05/0.3402, allocations: 85.86 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.3403, allocations: 89 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3403, allocations: 4 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/0.3404, allocations: 4.031 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.3404, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.3404, allocations: 3.984 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.942e-05/0.3405, allocations: 125.4 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3405, allocations: 0 / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001913/0.3407, allocations: 8 kB / 1.068 GB, free: 10.68 MB / 0.8419 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.0001291/0.3408, allocations: 99.23 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.613e-05/0.3409, allocations: 23.94 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3409, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.3409, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.3411, allocations: 12.69 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.3415, allocations: 212.8 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.3418, allocations: 0.6962 MB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.3418, allocations: 11.44 kB / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3418, allocations: 0 / 1.069 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of Templates: time 0.002509/0.3443, allocations: 0.866 MB / 1.07 GB, free: 8.691 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches