Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.00115, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00943/0.00943, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.513/1.513, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.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.469/2.469, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003954/0.0003956, allocations: 12.19 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8392/0.8397, allocations: 142.4 MB / 0.955 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001083/0.8408, allocations: 0.5369 MB / 0.9556 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001144/0.8409, allocations: 41.31 kB / 0.9556 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.841, allocations: 1.156 kB / 0.9556 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.841, allocations: 9.453 kB / 0.9556 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.874e-05/0.8411, allocations: 11.88 kB / 0.9556 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.364e-05/0.8411, allocations: 19.92 kB / 0.9556 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.113e-05/0.8412, allocations: 54.31 kB / 0.9557 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.8414, allocations: 34.53 kB / 0.9557 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.8414, allocations: 17.16 kB / 0.9557 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.8415, allocations: 24.33 kB / 0.9558 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.8415, allocations: 1.844 kB / 0.9558 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.8415, allocations: 1.938 kB / 0.9558 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.8415, allocations: 10.28 kB / 0.9558 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.773e-05/0.8416, allocations: 58.83 kB / 0.9558 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.25e-05/0.8417, allocations: 65.89 kB / 0.9559 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8417, allocations: 1.031 kB / 0.9559 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8417, allocations: 0 / 0.9559 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.8417, allocations: 0 / 0.9559 GB, free: 7.172 MB / 0.7169 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.0003454/0.8421, allocations: 362 kB / 0.9562 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.8421, allocations: 9.281 kB / 0.9563 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.8421, allocations: 12.72 kB / 0.9563 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.8423, allocations: 190.4 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.8423, allocations: 8.219 kB / 0.9565 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.8424, allocations: 8.531 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.8425, allocations: 91.8 kB / 0.9566 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.8425, allocations: 4.188 kB / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.8426, allocations: 8.875 kB / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.8426, allocations: 2.594 kB / 0.9566 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.633e-05/0.8426, allocations: 39.61 kB / 0.9566 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.8431, allocations: 441.7 kB / 0.957 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.709e-05/0.8432, allocations: 40.59 kB / 0.9571 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.8432, allocations: 19.72 kB / 0.9571 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.8432, allocations: 1.25 kB / 0.9571 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.8432, allocations: 35.66 kB / 0.9571 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.8432, allocations: 4 kB / 0.9571 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001704/0.8434, allocations: 58.53 kB / 0.9572 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.8435, allocations: 78.17 kB / 0.9573 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.8436, allocations: 165.2 kB / 0.9574 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.8436, allocations: 26.8 kB / 0.9574 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.8437, allocations: 107.9 kB / 0.9575 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-06/0.8437, allocations: 5 kB / 0.9575 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.8437, allocations: 10.88 kB / 0.9576 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.8438, allocations: 328.8 kB / 0.9579 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.8438, allocations: 4.219 kB / 0.9579 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.064e-05/0.8438, allocations: 22.31 kB / 0.9579 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.8439, allocations: 22.06 kB / 0.9579 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8439, allocations: 0 / 0.9579 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.198e-05/0.8439, allocations: 67.31 kB / 0.958 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.844, allocations: 5.938 kB / 0.958 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.844, allocations: 3.938 kB / 0.958 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.844, allocations: 1 kB / 0.958 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.609e-05/0.844, allocations: 5.688 kB / 0.958 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.8441, allocations: 1.25 kB / 0.958 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.8441, allocations: 6 kB / 0.958 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.8441, allocations: 0.9688 kB / 0.958 GB, free: 5.02 MB / 0.7169 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 6.069e-05/0.8442, allocations: 117.6 kB / 0.9581 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.8442, allocations: 12.5 kB / 0.9581 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.8443, allocations: 13.75 kB / 0.9581 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.8443, allocations: 0.875 kB / 0.9581 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8443, allocations: 1.25 kB / 0.9581 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.8443, allocations: 96 / 0.9581 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.8446, allocations: 474.9 kB / 0.9586 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8446, allocations: 0 / 0.9586 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.8446, allocations: 11.92 kB / 0.9586 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8446, allocations: 1.531 kB / 0.9586 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.8446, allocations: 0 / 0.9586 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8447, allocations: 5.312 kB / 0.9586 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8447, allocations: 0 / 0.9586 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.54e-05/0.8447, allocations: 78.38 kB / 0.9587 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.8448, allocations: 91.88 kB / 0.9588 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.8448, allocations: 9.438 kB / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.8448, allocations: 1.469 kB / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.8449, allocations: 0 / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.8449, allocations: 1.375 kB / 0.9588 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.064e-05/0.845, allocations: 120.4 kB / 0.9589 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.845, allocations: 0 / 0.9589 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001878/0.8452, allocations: 6.469 kB / 0.9589 GB, free: 4.07 MB / 0.7169 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.0001037/0.8453, allocations: 108.4 kB / 0.959 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.8454, allocations: 18.38 kB / 0.959 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8454, allocations: 0 / 0.959 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-05/0.8454, allocations: 8.688 kB / 0.959 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.8456, allocations: 7.469 kB / 0.959 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.8458, allocations: 188 kB / 0.9592 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.846, allocations: 0.6912 MB / 0.9599 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.547e-05/0.846, allocations: 8.297 kB / 0.9599 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.8461, allocations: 17.03 kB / 0.9599 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8461, allocations: 0 / 0.9599 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.002718/0.8488, allocations: 422.9 kB / 0.9603 GB, free: 2.836 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches