Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001248/0.001249, allocations: 196 kB / 16.14 MB, free: 6.711 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.985/2.985, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 65.42 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3607, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002255/0.363, allocations: 0.8864 MB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.3631, allocations: 43.78 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.3632, allocations: 0 / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.3632, allocations: 3.938 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.933e-05/0.3634, allocations: 7.938 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.07e-05/0.3634, allocations: 19.98 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3635, allocations: 55.84 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.3637, allocations: 43.95 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.888e-05/0.3637, allocations: 27.8 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.3638, allocations: 31.8 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.3638, allocations: 4 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.3638, allocations: 4 kB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.3639, allocations: 11.92 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.3639, allocations: 27.81 kB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.364, allocations: 68.03 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.364, allocations: 3.938 kB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.364, allocations: 0 / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.364, allocations: 0 / 1.069 GB, free: 9.637 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.0004563/0.3645, allocations: 387.2 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3646, allocations: 8.031 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.3646, allocations: 12.84 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.3648, allocations: 192.1 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3648, allocations: 4.375 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3649, allocations: 8.375 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.365, allocations: 97.77 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.365, allocations: 192 / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3651, allocations: 7.938 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3651, allocations: 0 / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8e-05/0.3652, allocations: 39.92 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000545/0.3657, allocations: 440.5 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.626e-05/0.3658, allocations: 49.14 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.3658, allocations: 17.84 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.3658, allocations: 0 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.3659, allocations: 38.59 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.3659, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001775/0.366, allocations: 61.72 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.3661, allocations: 81.11 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.3662, allocations: 165.1 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.3663, allocations: 25.7 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.3663, allocations: 104 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.584e-06/0.3663, allocations: 3.906 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.3664, allocations: 17.72 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3665, allocations: 322.8 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.3665, allocations: 8 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.3665, allocations: 17.72 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.855e-05/0.3666, allocations: 25.66 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3666, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.64e-05/0.3667, allocations: 65.53 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.3667, allocations: 4 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3667, allocations: 8 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3667, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.3668, allocations: 12 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3668, allocations: 3.938 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.3668, allocations: 7.844 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.3668, allocations: 4 kB / 1.071 GB, free: 7.184 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.187e-05/0.3669, allocations: 117.8 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.367, allocations: 7.906 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.367, allocations: 11.81 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.367, allocations: 8 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.367, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.367, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.3674, allocations: 466.8 kB / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3674, allocations: 0 / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.3674, allocations: 7.984 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3674, allocations: 0 / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3674, allocations: 4.062 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3674, allocations: 0 / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3674, allocations: 4 kB / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.566e-05/0.3675, allocations: 81.78 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.3676, allocations: 92.94 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.3676, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.3676, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.3677, allocations: 4.031 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3677, allocations: 8 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.099e-05/0.3677, allocations: 115.2 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3678, allocations: 4 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001844/0.3679, allocations: 7.906 kB / 1.072 GB, free: 6.145 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.0001208/0.3681, allocations: 103.2 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.466e-05/0.3682, allocations: 16 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3682, allocations: 4.062 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.087e-05/0.3682, allocations: 4 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.3683, allocations: 13.66 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003469/0.3687, allocations: 184.7 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.369, allocations: 0.6926 MB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.369, allocations: 8.422 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.369, allocations: 11.44 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of SimCode: time 3.9e-07/0.369, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of Templates: time 0.002496/0.3715, allocations: 436.6 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches