Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.00165/0.00165, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.544/2.544, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001352, allocations: 64.75 kB / 0.8707 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3106, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002501/0.3132, allocations: 0.8347 MB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001637/0.3134, allocations: 39.78 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.3135, allocations: 7.938 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.641e-05/0.3135, allocations: 11.88 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.3137, allocations: 3.938 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.615e-05/0.3138, allocations: 23.97 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.3139, allocations: 67.69 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.3141, allocations: 47.95 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.495e-05/0.3142, allocations: 27.86 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.3143, allocations: 23.86 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.3143, allocations: 8 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.3143, allocations: 4 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.3144, allocations: 19.92 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.3144, allocations: 31.75 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.3146, allocations: 79.62 kB / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3146, allocations: 0 / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3146, allocations: 0 / 1.02 GB, free: 8.633 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.3146, allocations: 4 kB / 1.02 GB, free: 8.629 MB / 0.795 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.0006552/0.3153, allocations: 375.2 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/0.3154, allocations: 8.625 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.3154, allocations: 8.844 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.3157, allocations: 196.1 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3157, allocations: 4.375 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3158, allocations: 8.375 kB / 1.021 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.316, allocations: 91.86 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.316, allocations: 192 / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.316, allocations: 11.94 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.316, allocations: 3.984 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.3162, allocations: 39.92 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.3169, allocations: 436.6 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.077e-05/0.317, allocations: 45.19 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.3171, allocations: 17.84 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.3171, allocations: 0 / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.3171, allocations: 34.56 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.3171, allocations: 0 / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0002413/0.3174, allocations: 65.47 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.3175, allocations: 77.11 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.3177, allocations: 158.2 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3177, allocations: 25.7 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.3178, allocations: 104 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.073e-05/0.3178, allocations: 3.906 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.3178, allocations: 21.91 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002449/0.3181, allocations: 326.8 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.3181, allocations: 3.938 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.949e-05/0.3182, allocations: 25.66 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.842e-05/0.3182, allocations: 21.72 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3182, allocations: 0 / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001065/0.3183, allocations: 65.53 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3184, allocations: 8 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3184, allocations: 3.938 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.3184, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.373e-05/0.3185, allocations: 8 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.3185, allocations: 4 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.3185, allocations: 7.844 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3186, allocations: 7.984 kB / 1.022 GB, free: 6.191 MB / 0.795 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 9.323e-05/0.3187, allocations: 110.5 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.3187, allocations: 11.97 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.3187, allocations: 15.81 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3187, allocations: 0 / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3188, allocations: 4 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3188, allocations: 0 / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.3192, allocations: 466.8 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3192, allocations: 3.984 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.117e-05/0.3192, allocations: 12 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3192, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.3193, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3193, allocations: 0 / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3193, allocations: 3.984 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.564e-05/0.3194, allocations: 81.84 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.3194, allocations: 85 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.3194, allocations: 8.031 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.3195, allocations: 0 / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.3195, allocations: 0 / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.3195, allocations: 0 / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.863e-05/0.3196, allocations: 125.7 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3196, allocations: 0 / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001909/0.3198, allocations: 8 kB / 1.023 GB, free: 5.164 MB / 0.795 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.00013/0.3199, allocations: 103.2 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.383e-05/0.32, allocations: 20 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.32, allocations: 3.938 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.3201, allocations: 7.938 kB / 1.023 GB, free: 5.02 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.3202, allocations: 15.88 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.3206, allocations: 166.8 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.3209, allocations: 0.6931 MB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.3209, allocations: 8.422 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.321, allocations: 11.44 kB / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.321, allocations: 0 / 1.024 GB, free: 4.066 MB / 0.795 GB Notification: Performance of Templates: time 0.003263/0.3242, allocations: 452.8 kB / 1.024 GB, free: 3.629 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches