Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001116/0.001116, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.477/1.477, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437 MB / 0.7103 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 63.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.817/0.8185, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002134/0.8207, allocations: 0.8307 MB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001046/0.8208, allocations: 35.8 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.8209, allocations: 4 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.897e-05/0.8209, allocations: 7.875 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.821, allocations: 11.91 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.739e-05/0.8211, allocations: 23.92 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.842e-05/0.8212, allocations: 55.86 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.8213, allocations: 51.88 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.8214, allocations: 23.88 kB / 1.018 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.8215, allocations: 27.84 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.8215, allocations: 8 kB / 1.018 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.8215, allocations: 4 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.8215, allocations: 19.88 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.8216, allocations: 35.8 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.886e-05/0.8217, allocations: 73.67 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8217, allocations: 0 / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8217, allocations: 0 / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.8217, allocations: 0 / 1.018 GB, free: 1.301 MB / 0.7637 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.0003983/0.8221, allocations: 387.1 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.8221, allocations: 8.031 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.8222, allocations: 8.844 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.8224, allocations: 192.2 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.8224, allocations: 4.375 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.8224, allocations: 12.38 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.8226, allocations: 95.8 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.8226, allocations: 192 / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.8226, allocations: 7.938 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.8226, allocations: 0 / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.8227, allocations: 39.92 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.8232, allocations: 432.7 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.569e-05/0.8233, allocations: 45.17 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.8233, allocations: 21.78 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.8233, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.8234, allocations: 38.56 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.8234, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001594/0.8235, allocations: 57.48 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.8236, allocations: 81.09 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.8237, allocations: 158.3 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.8238, allocations: 25.7 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.8238, allocations: 112.1 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-06/0.8238, allocations: 3.906 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.8239, allocations: 21.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.824, allocations: 322.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.824, allocations: 3.984 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.824, allocations: 21.72 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.244e-05/0.8241, allocations: 29.66 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8241, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.013e-05/0.8242, allocations: 65.47 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.8242, allocations: 8 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.8242, allocations: 3.938 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.8242, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.8243, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.8243, allocations: 4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.8243, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.8244, allocations: 8.062 kB / 1.021 GB, free: 14.86 MB / 0.7794 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.876e-05/0.8244, allocations: 109.8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.8245, allocations: 11.81 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.8245, allocations: 19.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8245, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8245, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.8245, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.8249, allocations: 470.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8249, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.952e-05/0.8249, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.825, allocations: 96 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.825, allocations: 7.984 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.825, allocations: 7.922 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.825, allocations: 3.938 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.075e-05/0.8251, allocations: 81.91 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.8251, allocations: 92.94 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.8252, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.8252, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.8252, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.8252, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.312e-05/0.8253, allocations: 126.3 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8253, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001839/0.8255, allocations: 12.03 kB / 1.021 GB, free: 13.81 MB / 0.7794 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.0001087/0.8256, allocations: 99.25 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.573e-05/0.8257, allocations: 19.92 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8257, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.8257, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.8259, allocations: 15.67 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.8262, allocations: 163 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.8265, allocations: 0.6924 MB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.8265, allocations: 12.44 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.8266, allocations: 7.438 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.8266, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.002857/0.8294, allocations: 448.4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches