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.008565/0.008565, allocations: 100.7 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.001385/0.001384, allocations: 202.1 kB / 16.68 MB, free: 5.926 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.432/1.432, allocations: 222.9 MB / 240.3 MB, free: 15.09 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.272/2.272, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 63.89 kB / 0.9509 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.004, allocations: 140.4 MB / 1.088 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002048/1.006, allocations: 0.833 MB / 1.089 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001178/1.007, allocations: 45.05 kB / 1.089 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/1.007, allocations: 1.25 kB / 1.089 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.633e-05/1.007, allocations: 9.188 kB / 1.089 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/1.007, allocations: 10.64 kB / 1.089 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.311e-05/1.007, allocations: 16.94 kB / 1.089 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000121/1.007, allocations: 63.06 kB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/1.007, allocations: 41.73 kB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.227e-05/1.007, allocations: 30.64 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/1.007, allocations: 34.42 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/1.007, allocations: 6.062 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/1.007, allocations: 6.281 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/1.008, allocations: 16.95 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/1.008, allocations: 31.97 kB / 1.089 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/1.008, allocations: 66.64 kB / 1.089 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.008, allocations: 9.25 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/1.008, allocations: 0 / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.951e-06/1.008, allocations: 0 / 1.089 GB, free: 5.027 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.0004033/1.008, allocations: 379 kB / 1.089 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.008, allocations: 9.594 kB / 1.089 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/1.008, allocations: 13.72 kB / 1.089 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/1.008, allocations: 195.7 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/1.008, allocations: 4.203 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/1.008, allocations: 9.375 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/1.009, allocations: 94.7 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.009, allocations: 192 / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/1.009, allocations: 8.875 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.009, allocations: 3.359 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.079e-05/1.009, allocations: 36.08 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/1.009, allocations: 436.5 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.092e-05/1.009, allocations: 38.7 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/1.009, allocations: 25 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/1.009, allocations: 3.938 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/1.009, allocations: 36.53 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/1.009, allocations: 0 / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001801/1.01, allocations: 61.34 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/1.01, allocations: 77.62 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/1.01, allocations: 156.6 kB / 1.091 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/1.01, allocations: 25.7 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/1.01, allocations: 107.8 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/1.01, allocations: 5.781 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/1.01, allocations: 22.92 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/1.01, allocations: 315.5 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/1.01, allocations: 7.609 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.396e-05/1.01, allocations: 20.53 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/1.01, allocations: 26.89 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.01, allocations: 0.9062 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.917e-05/1.01, allocations: 61.42 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.01, allocations: 8.906 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.01, allocations: 5 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.01, allocations: 1.625 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/1.01, allocations: 6.172 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.01, allocations: 1.641 kB / 1.091 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/1.01, allocations: 5.344 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/1.01, allocations: 2.156 kB / 1.091 GB, free: 2.961 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.731e-05/1.01, allocations: 117.8 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/1.011, allocations: 9.25 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/1.011, allocations: 11.66 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.011, allocations: 5.344 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.011, allocations: 0.6562 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/1.011, allocations: 1.188 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/1.011, allocations: 474.3 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.011, allocations: 5.797 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/1.011, allocations: 3.172 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.011, allocations: 1.312 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/1.011, allocations: 4 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.011, allocations: 1.375 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.011, allocations: 6.016 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.225e-05/1.011, allocations: 87.97 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/1.011, allocations: 90.2 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/1.011, allocations: 1.859 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/1.011, allocations: 3.984 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/1.011, allocations: 2.188 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/1.011, allocations: 1.938 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.857e-05/1.011, allocations: 120.1 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/1.011, allocations: 0.6875 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001853/1.011, allocations: 11.78 kB / 1.092 GB, free: 2.031 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.0001055/1.012, allocations: 101.9 kB / 1.092 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.23e-05/1.012, allocations: 19.86 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.012, allocations: 0.9062 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.059e-05/1.012, allocations: 4.75 kB / 1.092 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/1.012, allocations: 14.7 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/1.012, allocations: 175.9 kB / 1.092 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/1.012, allocations: 0.6926 MB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.187e-05/1.012, allocations: 6.531 kB / 1.093 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/1.012, allocations: 11.19 kB / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/1.012, allocations: 0 / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of Templates: time 0.00273/1.015, allocations: 471.6 kB / 1.094 GB, free: 0.9727 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