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 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.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.001043/0.001043, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001407/0.001407, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.93/2.93, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005575/0.0005577, allocations: 12.91 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4145, allocations: 159.6 MB / 1.058 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001157/0.4157, allocations: 0.5145 MB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000161/0.4159, allocations: 39.78 kB / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.4159, allocations: 0 / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.416, allocations: 7.922 kB / 1.059 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.77e-05/0.4161, allocations: 11.88 kB / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.937e-05/0.4161, allocations: 11.98 kB / 1.059 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.4163, allocations: 59.75 kB / 1.059 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.4164, allocations: 28.17 kB / 1.059 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.409e-05/0.4165, allocations: 19.88 kB / 1.059 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.953e-05/0.4165, allocations: 19.84 kB / 1.059 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.4166, allocations: 0 / 1.059 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.4166, allocations: 4 kB / 1.059 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.4166, allocations: 11.92 kB / 1.059 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.4166, allocations: 37.64 kB / 1.059 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.728e-05/0.4167, allocations: 51.89 kB / 1.059 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4168, allocations: 3.938 kB / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4168, allocations: 0 / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4168, allocations: 0 / 1.059 GB, free: 4.496 MB / 0.8106 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.0004423/0.4172, allocations: 367.4 kB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4173, allocations: 8.031 kB / 1.059 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.4173, allocations: 7.906 kB / 1.059 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.4176, allocations: 194.9 kB / 1.059 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.4176, allocations: 8 kB / 1.059 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.4176, allocations: 11.95 kB / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.4178, allocations: 95.28 kB / 1.059 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.4178, allocations: 0 / 1.059 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.4178, allocations: 0 / 1.059 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.4178, allocations: 4 kB / 1.059 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.4179, allocations: 39.92 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005915/0.4185, allocations: 436.5 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.905e-05/0.4186, allocations: 45.28 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.4186, allocations: 17.84 kB / 1.06 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.4187, allocations: 8 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.4187, allocations: 34.52 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.335e-06/0.4187, allocations: 0 / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001853/0.4189, allocations: 57.47 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.419, allocations: 81.11 kB / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.4191, allocations: 161.5 kB / 1.06 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.4192, allocations: 29.95 kB / 1.06 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.4192, allocations: 107.9 kB / 1.06 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-06/0.4193, allocations: 7.906 kB / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-06/0.4193, allocations: 0 / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4194, allocations: 314.8 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.4194, allocations: 11.98 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.98e-05/0.4194, allocations: 13.72 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.845e-05/0.4195, allocations: 16 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4195, allocations: 0 / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.225e-05/0.4196, allocations: 61.53 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4196, allocations: 5.562 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.4196, allocations: 3.953 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.4196, allocations: 4 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.4197, allocations: 4 kB / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4197, allocations: 0 / 1.061 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.4197, allocations: 11.84 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.4197, allocations: 64 / 1.061 GB, free: 2.125 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.146e-05/0.4198, allocations: 121.8 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-05/0.4199, allocations: 11.89 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.4199, allocations: 11.88 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4199, allocations: 3.953 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4199, allocations: 0 / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.4199, allocations: 0 / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.4203, allocations: 466.8 kB / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4203, allocations: 0 / 1.061 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.4204, allocations: 11.95 kB / 1.061 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4204, allocations: 0 / 1.061 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4204, allocations: 4 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.4204, allocations: 3.984 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4204, allocations: 3.938 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.833e-05/0.4205, allocations: 77.97 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.4206, allocations: 89 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.4206, allocations: 7.891 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.884e-05/0.4206, allocations: 0 / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.4206, allocations: 4 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-06/0.4206, allocations: 0 / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.023e-05/0.4207, allocations: 126.1 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.4207, allocations: 0 / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001882/0.4209, allocations: 4 kB / 1.062 GB, free: 1.086 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001251/0.4211, allocations: 103.3 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.573e-05/0.4211, allocations: 19.92 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.4212, allocations: 0 / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.227e-06/0.4212, allocations: 4 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.4213, allocations: 9.547 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.4217, allocations: 186.7 kB / 1.062 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.422, allocations: 0.6965 MB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.113e-05/0.4221, allocations: 12.86 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.361e-05/0.4221, allocations: 11.44 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4221, allocations: 0 / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.002712/0.4248, allocations: 419.8 kB / 1.063 GB, free: 15.57 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