Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001851/0.001851, allocations: 198.3 kB / 16.14 MB, free: 6.711 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.633/2.633, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 75.89 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7486/0.7499, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00215/0.7521, allocations: 0.8974 MB / 1.017 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 9.966e-05/0.7522, allocations: 35.8 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.7523, allocations: 7.938 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.239e-05/0.7523, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.475e-05/0.7524, allocations: 7.922 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.678e-05/0.7525, allocations: 19.98 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.203e-05/0.7526, allocations: 55.8 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.7527, allocations: 43.95 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.259e-05/0.7528, allocations: 19.88 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.7528, allocations: 27.84 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.7529, allocations: 4 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.7529, allocations: 4 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.7529, allocations: 15.94 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.7529, allocations: 31.73 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.7531, allocations: 69.73 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.7531, allocations: 4 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7531, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.7531, allocations: 0 / 1.018 GB, free: 1.57 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.0004561/0.7536, allocations: 383.1 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7536, allocations: 12.03 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.7536, allocations: 8.844 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.7539, allocations: 192.2 kB / 1.018 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.7539, allocations: 8.312 kB / 1.018 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.7539, allocations: 8.375 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.7541, allocations: 101.3 kB / 1.018 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.7541, allocations: 192 / 1.018 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.7541, allocations: 3.938 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.7541, allocations: 4 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.7542, allocations: 35.98 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.7547, allocations: 436.6 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.165e-05/0.7548, allocations: 37.22 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.7548, allocations: 25.77 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.7549, allocations: 4.031 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.7549, allocations: 34.56 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.7549, allocations: 0 / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001717/0.7551, allocations: 57.39 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.7551, allocations: 77.11 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.7553, allocations: 168.5 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.7553, allocations: 25.7 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.7554, allocations: 104 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.11e-05/0.7554, allocations: 15.84 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.7554, allocations: 17.7 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.7557, allocations: 314.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.7557, allocations: 8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.356e-05/0.7557, allocations: 21.7 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.7558, allocations: 29.66 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7558, allocations: 4 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001333/0.7559, allocations: 53.69 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.7559, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.7559, allocations: 3.938 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.7559, allocations: 7.984 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/0.756, allocations: 16 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.756, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/0.7561, allocations: 7.906 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.7561, allocations: 0 / 1.02 GB, free: 15.12 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 7.545e-05/0.7561, allocations: 113.8 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.7562, allocations: 7.906 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.7562, allocations: 23.73 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.7562, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7562, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.7562, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.7566, allocations: 470.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7566, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/0.7567, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7567, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.7567, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7567, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7567, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.907e-05/0.7568, allocations: 85.83 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.7568, allocations: 96.94 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.7569, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.7569, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.7569, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.7569, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.255e-05/0.757, allocations: 124.9 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.757, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000183/0.7572, allocations: 8 kB / 1.021 GB, free: 14.08 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.0001246/0.7573, allocations: 99.23 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.239e-05/0.7574, allocations: 23.92 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7574, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.348e-05/0.7574, allocations: 8.188 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.7576, allocations: 21.66 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.758, allocations: 178.3 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.7583, allocations: 0.6965 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.7583, allocations: 8.375 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.7584, allocations: 11.44 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.7584, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of Templates: time 0.002469/0.7608, allocations: 436.6 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches