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.001233/0.001233, allocations: 107.8 kB / 16.41 MB, free: 6.5 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.001228/0.001228, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.15 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.334/2.334, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 59.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8401/0.8427, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001944/0.8447, allocations: 0.8157 MB / 1.089 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000112/0.8449, allocations: 44.67 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.8449, allocations: 2.281 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.621e-05/0.845, allocations: 9.516 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.8451, allocations: 10.06 kB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.111e-05/0.8451, allocations: 16.27 kB / 1.09 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.8452, allocations: 66.75 kB / 1.09 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.8454, allocations: 38.38 kB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.429e-05/0.8455, allocations: 28.97 kB / 1.09 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.9e-05/0.8455, allocations: 31.41 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.8456, allocations: 5.188 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.8456, allocations: 6.5 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.8456, allocations: 16.8 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.092e-05/0.8456, allocations: 28.06 kB / 1.09 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.8458, allocations: 80.08 kB / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8458, allocations: 0 / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8458, allocations: 0 / 1.09 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.8458, allocations: 4.688 kB / 1.09 GB, free: 4.758 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.000363/0.8462, allocations: 373.5 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8462, allocations: 10.77 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.8463, allocations: 13.47 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.8464, allocations: 188.4 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.8464, allocations: 11.81 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.8465, allocations: 16.77 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.8466, allocations: 90.44 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.8467, allocations: 192 / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.8467, allocations: 9.188 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.8467, allocations: 6.406 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.709e-05/0.8468, allocations: 32.83 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.8472, allocations: 444.8 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.928e-05/0.8473, allocations: 38.75 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.8473, allocations: 24.81 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.8473, allocations: 3.938 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.8474, allocations: 35.94 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8474, allocations: 1.281 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.8475, allocations: 56.61 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.8476, allocations: 78.2 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.8477, allocations: 160.3 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.8477, allocations: 25.7 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.93e-05/0.8478, allocations: 111.5 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-06/0.8478, allocations: 5.594 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.8478, allocations: 18.73 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.8479, allocations: 316.4 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.8479, allocations: 7.188 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.8479, allocations: 20.66 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.616e-05/0.848, allocations: 30.86 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.848, allocations: 0.9688 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.39e-05/0.8481, allocations: 56.66 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.8481, allocations: 6.797 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.8481, allocations: 3.938 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.8481, allocations: 4.906 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.8482, allocations: 6.484 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.8482, allocations: 1.844 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.8482, allocations: 6.094 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.8483, allocations: 5.188 kB / 1.092 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.501e-05/0.8483, allocations: 114.7 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.8484, allocations: 8.797 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.8484, allocations: 12.67 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.8484, allocations: 0 / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8484, allocations: 1.125 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8484, allocations: 1.75 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.8487, allocations: 474.3 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.8487, allocations: 0.5625 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.8487, allocations: 7.531 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.8487, allocations: 0.9688 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.8488, allocations: 1.156 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.8488, allocations: 1.734 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8488, allocations: 3.938 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.888e-05/0.8488, allocations: 89.53 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.8489, allocations: 89.67 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.8489, allocations: 1.797 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.8489, allocations: 1.812 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.8489, allocations: 5.672 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.8489, allocations: 1.125 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.151e-05/0.849, allocations: 120.4 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.849, allocations: 0 / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001982/0.8492, allocations: 15.31 kB / 1.093 GB, free: 1.762 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 8.856e-05/0.8493, allocations: 96.92 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.055e-05/0.8494, allocations: 25 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8494, allocations: 0 / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-05/0.8494, allocations: 5.281 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.8496, allocations: 13.05 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.8499, allocations: 196.3 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.8501, allocations: 0.6929 MB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.781e-05/0.8501, allocations: 11.56 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8501, allocations: 0 / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of Templates: time 0.002624/0.8528, allocations: 0.8691 MB / 1.095 GB, free: 16.68 MB / 0.8731 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/jenkins1/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