Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.006838/0.006845, allocations: 104.7 kB / 15.73 MB, free: 6.035 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.001489/0.001489, allocations: 199.2 kB / 16.67 MB, free: 5.969 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 4.172 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.543/2.543, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 59 kB / 0.9508 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3742, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00276/0.3771, allocations: 0.8176 MB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001857/0.3773, allocations: 43.78 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.163e-05/0.3774, allocations: 4 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.058e-05/0.3775, allocations: 7.875 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.3776, allocations: 15.88 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.78e-05/0.3777, allocations: 15.98 kB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.3779, allocations: 75.81 kB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.378, allocations: 39.95 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.3781, allocations: 27.86 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.661e-05/0.3782, allocations: 27.8 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.3783, allocations: 4 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.904e-05/0.3783, allocations: 12 kB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.3783, allocations: 15.92 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.143e-05/0.3784, allocations: 31.75 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.3786, allocations: 79.64 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.3786, allocations: 3.984 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3786, allocations: 0 / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.3786, allocations: 0 / 1.089 GB, free: 268 kB / 0.8419 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.0006979/0.3793, allocations: 367.3 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.3794, allocations: 8.031 kB / 1.089 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.3795, allocations: 16.75 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.3798, allocations: 200.1 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3799, allocations: 4.375 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3799, allocations: 12.38 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.3801, allocations: 87.89 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3801, allocations: 4.125 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.3802, allocations: 7.938 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3802, allocations: 4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.3803, allocations: 35.98 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007028/0.381, allocations: 444.5 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.625e-05/0.3811, allocations: 33.22 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.186e-05/0.3811, allocations: 25.78 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.3811, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.3812, allocations: 38.59 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3812, allocations: 0 / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002069/0.3814, allocations: 57.47 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.3815, allocations: 81.11 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3816, allocations: 160.7 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.3816, allocations: 25.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.3817, allocations: 100 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.3817, allocations: 11.89 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.3818, allocations: 17.72 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3819, allocations: 322.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.3819, allocations: 4 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/0.3819, allocations: 17.72 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.707e-05/0.382, allocations: 29.66 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.382, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.338e-05/0.3821, allocations: 57.59 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3821, allocations: 6.031 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.3821, allocations: 3.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3822, allocations: 4.094 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.45e-05/0.3822, allocations: 7.938 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.3823, allocations: 4.062 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.3823, allocations: 15.83 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3823, allocations: 0 / 1.091 GB, free: 13.83 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 8.948e-05/0.3824, allocations: 117.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.3825, allocations: 7.906 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.628e-05/0.3825, allocations: 15.81 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3825, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3825, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3825, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.3829, allocations: 470.8 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3829, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.383, allocations: 7.984 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.383, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.383, allocations: 7.938 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.383, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.383, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.439e-05/0.3831, allocations: 85.84 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.3832, allocations: 89 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.3832, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.3832, allocations: 0 / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.3832, allocations: 4 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.3832, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001046/0.3834, allocations: 129.5 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3834, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000205/0.3836, allocations: 8 kB / 1.092 GB, free: 12.79 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.0001488/0.3837, allocations: 95.78 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.3839, allocations: 27.86 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3839, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.007e-05/0.3839, allocations: 4 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.3841, allocations: 16.19 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.3844, allocations: 166.8 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.3847, allocations: 0.6889 MB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.04e-05/0.3848, allocations: 8.422 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.653e-05/0.3848, allocations: 15.44 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3848, allocations: 3.938 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of Templates: time 0.002922/0.3877, allocations: 461.9 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches