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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001466/0.001466, allocations: 107 kB / 16.36 MB, free: 6.336 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.001581/0.001581, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.454/2.454, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.09 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3357, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00229/0.338, allocations: 0.837 MB / 1.028 GB, free: 1.191 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000116/0.3381, allocations: 39.8 kB / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.3382, allocations: 0 / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.217e-05/0.3383, allocations: 7.875 kB / 1.028 GB, free: 1.145 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.487e-05/0.3384, allocations: 15.84 kB / 1.028 GB, free: 1.129 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.252e-05/0.3384, allocations: 19.98 kB / 1.028 GB, free: 1.109 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.3385, allocations: 59.84 kB / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.3387, allocations: 47.95 kB / 1.028 GB, free: 1.004 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.3388, allocations: 31.8 kB / 1.028 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.3389, allocations: 23.86 kB / 1.028 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.3389, allocations: 8 kB / 1.028 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.3389, allocations: 4 kB / 1.028 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.3389, allocations: 15.92 kB / 1.028 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.339, allocations: 39.73 kB / 1.028 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.3391, allocations: 75.64 kB / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3391, allocations: 0 / 1.028 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3391, allocations: 4 kB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3391, allocations: 0 / 1.028 GB, free: 0.8047 MB / 0.795 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.0005214/0.3397, allocations: 371.2 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3397, allocations: 8.031 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3398, allocations: 12.84 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.34, allocations: 188.2 kB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.34, allocations: 12.28 kB / 1.028 GB, free: 140 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.3401, allocations: 4.375 kB / 1.028 GB, free: 136 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.3402, allocations: 99.89 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3402, allocations: 192 / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3402, allocations: 3.938 kB / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3403, allocations: 0 / 1.029 GB, free: 20 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.3404, allocations: 43.97 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.3409, allocations: 436.5 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.095e-05/0.341, allocations: 45.09 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/0.3411, allocations: 25.88 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.3411, allocations: 0 / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.3411, allocations: 30.56 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.3411, allocations: 4 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001878/0.3413, allocations: 61.47 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.3414, allocations: 77.11 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3415, allocations: 164.7 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3415, allocations: 25.7 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.3416, allocations: 104 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.3416, allocations: 11.84 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.3417, allocations: 13.97 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3418, allocations: 326.8 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.3418, allocations: 8 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/0.3418, allocations: 13.72 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.3419, allocations: 33.64 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3419, allocations: 0 / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.949e-05/0.342, allocations: 57.55 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.342, allocations: 8 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.342, allocations: 3.938 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.342, allocations: 96 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.781e-05/0.3421, allocations: 15.97 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3421, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.3422, allocations: 7.844 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3422, allocations: 8 kB / 1.03 GB, free: 14.36 MB / 0.8106 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.931e-05/0.3423, allocations: 113.8 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3423, allocations: 11.97 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.3424, allocations: 11.81 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3424, allocations: 4 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3424, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3424, allocations: 3.984 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.3428, allocations: 470.8 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3428, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.3428, allocations: 8.062 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3428, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.3428, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3428, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3428, allocations: 0 / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.928e-05/0.3429, allocations: 85.77 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.343, allocations: 85.02 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.343, allocations: 8.031 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.911e-05/0.343, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.343, allocations: 7.922 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.343, allocations: 4 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001045/0.3431, allocations: 118.5 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.775e-06/0.3432, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001831/0.3433, allocations: 15.92 kB / 1.031 GB, free: 13.32 MB / 0.8106 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.0001357/0.3435, allocations: 107.2 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.939e-05/0.3436, allocations: 15.94 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3436, allocations: 0 / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.3436, allocations: 4 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.3438, allocations: 11.94 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.3441, allocations: 162.8 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.3444, allocations: 0.6965 MB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.3444, allocations: 8.422 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.3445, allocations: 11.44 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of SimCode: time 1.81e-07/0.3445, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.002778/0.3473, allocations: 458.9 kB / 1.032 GB, free: 11.79 MB / 0.8106 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 -s gbode -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