Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.006789/0.006789, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001437/0.001437, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.89 kB / 0.9509 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.102, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002344/1.105, allocations: 0.8313 MB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001156/1.105, allocations: 37.98 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/1.105, allocations: 2.062 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/1.105, allocations: 8.625 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.931e-05/1.105, allocations: 9.953 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.694e-05/1.105, allocations: 20.52 kB / 1.089 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/1.105, allocations: 63.44 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/1.105, allocations: 41.86 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.779e-05/1.105, allocations: 22.27 kB / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/1.105, allocations: 30.84 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/1.106, allocations: 6.375 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/1.106, allocations: 6.375 kB / 1.089 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/1.106, allocations: 16.05 kB / 1.089 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/1.106, allocations: 32.39 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/1.106, allocations: 86.8 kB / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.106, allocations: 0.5156 kB / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.116e-06/1.106, allocations: 1.094 kB / 1.089 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.608e-06/1.106, allocations: 0 / 1.089 GB, free: 4.746 MB / 0.8575 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.0004016/1.106, allocations: 375.8 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.106, allocations: 10.02 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/1.106, allocations: 13.81 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/1.106, allocations: 193 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/1.107, allocations: 18.98 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/1.107, allocations: 5.719 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/1.107, allocations: 90.39 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/1.107, allocations: 192 / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/1.107, allocations: 5.312 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/1.107, allocations: 2.438 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.989e-05/1.107, allocations: 39.88 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/1.107, allocations: 437.3 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/1.107, allocations: 50.48 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/1.107, allocations: 20.34 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/1.107, allocations: 1.312 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/1.107, allocations: 36.69 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/1.107, allocations: 0 / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001259/1.108, allocations: 56.19 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/1.108, allocations: 78.2 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/1.108, allocations: 160.2 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/1.108, allocations: 25.7 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.694e-05/1.108, allocations: 104.8 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/1.108, allocations: 13.41 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/1.108, allocations: 17.89 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.886e-05/1.108, allocations: 319.7 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/1.108, allocations: 4.547 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/1.108, allocations: 19.3 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.042e-05/1.108, allocations: 27.64 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/1.108, allocations: 0 / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.24e-05/1.108, allocations: 62.02 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.108, allocations: 5.656 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/1.108, allocations: 3.938 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/1.108, allocations: 1.891 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.596e-05/1.108, allocations: 6.859 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/1.108, allocations: 1.094 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/1.108, allocations: 6.375 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/1.108, allocations: 0.875 kB / 1.091 GB, free: 2.684 MB / 0.8575 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 5.984e-05/1.108, allocations: 118.1 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/1.108, allocations: 8.344 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/1.109, allocations: 20.83 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.109, allocations: 1.125 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/1.109, allocations: 4.797 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/1.109, allocations: 1.094 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/1.109, allocations: 469.8 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.109, allocations: 5.484 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/1.109, allocations: 7.031 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/1.109, allocations: 1.266 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-06/1.109, allocations: 4.688 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.109, allocations: 1.688 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.109, allocations: 1.062 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.948e-05/1.109, allocations: 80.02 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/1.109, allocations: 90.69 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/1.109, allocations: 1.812 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/1.109, allocations: 4.75 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/1.109, allocations: 6.062 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/1.109, allocations: 1.094 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.959e-05/1.109, allocations: 121.8 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.109, allocations: 0 / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001743/1.109, allocations: 10.62 kB / 1.092 GB, free: 1.754 MB / 0.8575 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.0001093/1.11, allocations: 98.61 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.328e-05/1.11, allocations: 20.78 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.11, allocations: 0 / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.597e-05/1.11, allocations: 13 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/1.11, allocations: 9.594 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/1.11, allocations: 172 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/1.111, allocations: 0.6921 MB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.378e-05/1.111, allocations: 12.12 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/1.111, allocations: 10.97 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/1.111, allocations: 0 / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of Templates: time 0.003478/1.114, allocations: 460.2 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches