Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.009671/0.009671, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001942/0.001943, allocations: 193.5 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.431/1.431, 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 10.1.1-maint.10.0.x/package.mo): time 2.474/2.474, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.84 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.147, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002031/1.149, allocations: 0.8336 MB / 1.167 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001172/1.15, allocations: 43.78 kB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.91e-05/1.15, allocations: 4 kB / 1.167 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.716e-05/1.15, allocations: 11.86 kB / 1.167 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/1.15, allocations: 3.938 kB / 1.167 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.057e-05/1.15, allocations: 19.98 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/1.15, allocations: 63.78 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/1.15, allocations: 47.95 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.38e-05/1.15, allocations: 23.88 kB / 1.168 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.52e-05/1.15, allocations: 27.84 kB / 1.168 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/1.15, allocations: 4 kB / 1.168 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-06/1.15, allocations: 8 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/1.15, allocations: 11.94 kB / 1.168 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/1.15, allocations: 35.8 kB / 1.168 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/1.151, allocations: 80.14 kB / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.151, allocations: 0 / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.917e-06/1.151, allocations: 0 / 1.168 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.151, allocations: 3.938 kB / 1.168 GB, free: 2.586 MB / 0.8887 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.0004526/1.151, allocations: 387.1 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/1.151, allocations: 8.922 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/1.151, allocations: 12.84 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/1.151, allocations: 192.2 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/1.151, allocations: 4.375 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/1.151, allocations: 12.38 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/1.152, allocations: 94.38 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.152, allocations: 192 / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.152, allocations: 3.938 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/1.152, allocations: 7.984 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/1.152, allocations: 43.86 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/1.152, allocations: 436.6 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.559e-05/1.152, allocations: 45.34 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/1.152, allocations: 17.77 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/1.152, allocations: 4 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/1.153, allocations: 38.56 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.153, allocations: 0 / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001814/1.153, allocations: 53.53 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/1.153, allocations: 77.11 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/1.153, allocations: 160.9 kB / 1.169 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/1.153, allocations: 25.7 kB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/1.153, allocations: 108 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/1.153, allocations: 8.203 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/1.153, allocations: 21.7 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.153, allocations: 314.8 kB / 1.17 GB, free: 320 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/1.153, allocations: 7.938 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/1.153, allocations: 21.7 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.159e-05/1.153, allocations: 25.72 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.153, allocations: 4 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.504e-05/1.153, allocations: 65.53 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.153, allocations: 4 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.153, allocations: 11.88 kB / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.153, allocations: 0 / 1.17 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/1.154, allocations: 4 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/1.154, allocations: 0 / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/1.154, allocations: 7.938 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/1.154, allocations: 0 / 1.17 GB, free: 148 kB / 0.8887 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.099e-05/1.154, allocations: 117.9 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/1.154, allocations: 7.953 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.901e-05/1.154, allocations: 19.8 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.154, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.154, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/1.154, allocations: 3.938 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/1.154, allocations: 470.8 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.154, allocations: 4 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/1.154, allocations: 7.938 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.154, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/1.154, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.154, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.154, allocations: 0 / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.562e-05/1.154, allocations: 85.88 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/1.154, allocations: 89.05 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/1.154, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/1.154, allocations: 0 / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/1.155, allocations: 8 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/1.155, allocations: 0 / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001036/1.155, allocations: 126.8 kB / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/1.155, allocations: 0 / 1.171 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001837/1.155, allocations: 8 kB / 1.171 GB, free: 15.09 MB / 0.9044 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.0001299/1.155, allocations: 99.28 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001036/1.155, allocations: 19.98 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.155, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.359e-05/1.155, allocations: 11.94 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/1.155, allocations: 12.66 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/1.156, allocations: 166.8 kB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/1.156, allocations: 0.6963 MB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.394e-05/1.156, allocations: 4.438 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/1.156, allocations: 15.38 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/1.156, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of Templates: time 0.002587/1.158, allocations: 464.6 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches