Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001998/0.001998, allocations: 108 kB / 15.61 MB, free: 152 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.002788/0.002788, allocations: 192.5 kB / 16.53 MB, free: 6.664 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.556/1.556, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.874/2.874, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.89 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8534/0.8555, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002664/0.8582, allocations: 0.821 MB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000162/0.8584, allocations: 35.84 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.8585, allocations: 0 / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.582e-05/0.8585, allocations: 11.81 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.8587, allocations: 11.88 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.376e-05/0.8587, allocations: 23.97 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.8589, allocations: 55.86 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.8591, allocations: 51.94 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/0.8591, allocations: 23.8 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.162e-05/0.8592, allocations: 31.84 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.297e-05/0.8593, allocations: 4 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.8593, allocations: 12 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.8593, allocations: 11.94 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.8594, allocations: 35.8 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.8596, allocations: 73.67 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8596, allocations: 0 / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8596, allocations: 0 / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.8596, allocations: 0 / 1.018 GB, free: 1.309 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.0005793/0.8602, allocations: 383.1 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.8602, allocations: 12.03 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.8603, allocations: 12.84 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.8606, allocations: 188.2 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.8606, allocations: 8.375 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.8606, allocations: 4.375 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.8608, allocations: 105.5 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.8609, allocations: 192 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.8609, allocations: 3.938 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.8609, allocations: 4 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.119e-05/0.861, allocations: 35.98 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/0.8617, allocations: 432.6 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.42e-05/0.8618, allocations: 41.16 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.8618, allocations: 21.78 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.8619, allocations: 3.984 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.8619, allocations: 38.59 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.8619, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000215/0.8621, allocations: 53.48 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.8622, allocations: 77.36 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.8624, allocations: 169.5 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.8624, allocations: 25.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.8625, allocations: 107.9 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.8625, allocations: 11.89 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.8626, allocations: 13.72 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.8628, allocations: 330.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.8628, allocations: 8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.8628, allocations: 25.69 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.061e-05/0.8629, allocations: 29.66 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8629, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/0.863, allocations: 53.61 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.863, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.8631, allocations: 7.922 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.8631, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.8632, allocations: 16.06 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.8632, allocations: 3.938 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/0.8632, allocations: 4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.8632, allocations: 0 / 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 0.0001204/0.8634, allocations: 113.8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.8634, allocations: 11.81 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.8635, allocations: 19.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8635, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.8635, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.8635, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.864, allocations: 470.8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.864, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.864, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.864, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.864, allocations: 3.938 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.8641, allocations: 4 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8641, allocations: 64 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.8642, allocations: 85.77 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.044e-05/0.8643, allocations: 92.95 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.8643, allocations: 3.984 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.8643, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.8643, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.8643, allocations: 8.031 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.704e-05/0.8644, allocations: 119.2 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8644, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001807/0.8646, allocations: 4 kB / 1.022 GB, free: 13.82 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.0001355/0.8648, allocations: 99.25 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.8649, allocations: 19.94 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8649, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.8649, allocations: 16.17 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.8651, allocations: 13.31 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.0003355/0.8654, allocations: 146.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.8658, allocations: 0.7002 MB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.1e-05/0.8658, allocations: 8.422 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.8658, allocations: 11.44 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8659, allocations: 0 / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of Templates: time 0.003069/0.8689, allocations: 460.5 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches