Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.01149/0.01149, allocations: 105.4 kB / 15.74 MB, free: 6.004 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.002129/0.002129, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.396/2.396, allocations: 390.2 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08/1.082, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002313/1.084, allocations: 0.8229 MB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001282/1.084, allocations: 37 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/1.084, allocations: 1.031 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/1.084, allocations: 10.62 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.187e-05/1.085, allocations: 16.42 kB / 1.089 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.131e-05/1.085, allocations: 17.11 kB / 1.089 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000122/1.085, allocations: 59.59 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/1.085, allocations: 46.36 kB / 1.089 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.818e-05/1.085, allocations: 24.25 kB / 1.089 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/1.085, allocations: 31.52 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/1.085, allocations: 5.438 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/1.085, allocations: 10.56 kB / 1.089 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/1.085, allocations: 12.19 kB / 1.089 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/1.085, allocations: 33.28 kB / 1.089 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/1.085, allocations: 80.69 kB / 1.089 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.085, allocations: 0 / 1.089 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.883e-06/1.085, allocations: 1.156 kB / 1.089 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.031e-06/1.085, allocations: 0.5625 kB / 1.089 GB, free: 4.742 MB / 0.8575 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.0004504/1.086, allocations: 379.8 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/1.086, allocations: 10.05 kB / 1.089 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/1.086, allocations: 13.12 kB / 1.089 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/1.086, allocations: 193.1 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/1.086, allocations: 11.53 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/1.086, allocations: 4.719 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/1.086, allocations: 94.41 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/1.086, allocations: 4.125 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/1.086, allocations: 9.062 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.087, allocations: 2.5 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/1.087, allocations: 31.75 kB / 1.09 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005429/1.087, allocations: 441.8 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.647e-05/1.087, allocations: 41.92 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.863e-05/1.087, allocations: 19.95 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/1.087, allocations: 1.688 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/1.087, allocations: 44.16 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/1.087, allocations: 0 / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002425/1.088, allocations: 54.12 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/1.088, allocations: 81.05 kB / 1.09 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/1.088, allocations: 159.8 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/1.088, allocations: 25.7 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/1.088, allocations: 107.9 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/1.088, allocations: 10.36 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/1.088, allocations: 13.97 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.778e-05/1.088, allocations: 320 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/1.088, allocations: 7.688 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.419e-05/1.088, allocations: 16.61 kB / 1.091 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.869e-05/1.088, allocations: 30.86 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/1.088, allocations: 3.938 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.62e-05/1.088, allocations: 54.28 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.088, allocations: 4.469 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.088, allocations: 9.281 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/1.088, allocations: 0.75 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/1.088, allocations: 6.578 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.088, allocations: 5.031 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/1.088, allocations: 10.64 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/1.088, allocations: 5.344 kB / 1.091 GB, free: 2.668 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.227e-05/1.089, allocations: 114.5 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/1.089, allocations: 9.203 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/1.089, allocations: 12.47 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/1.089, allocations: 5.125 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.089, allocations: 4 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.089, allocations: 1.641 kB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/1.089, allocations: 474.7 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.089, allocations: 0.5156 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/1.089, allocations: 4.047 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.089, allocations: 1.281 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/1.089, allocations: 0 / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.089, allocations: 1.344 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.089, allocations: 0.9375 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.556e-05/1.089, allocations: 88.69 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/1.089, allocations: 94.67 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/1.089, allocations: 5.703 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.991e-05/1.089, allocations: 1.469 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/1.089, allocations: 1.812 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/1.089, allocations: 0.8125 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001125/1.089, allocations: 121.2 kB / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.089, allocations: 0 / 1.092 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002011/1.09, allocations: 11.25 kB / 1.092 GB, free: 1.746 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.0001185/1.09, allocations: 100.9 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001172/1.09, allocations: 24.22 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.09, allocations: 0 / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-05/1.09, allocations: 5.641 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/1.09, allocations: 10.53 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/1.09, allocations: 168.9 kB / 1.092 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/1.091, allocations: 0.6929 MB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.182e-05/1.091, allocations: 6.734 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/1.091, allocations: 12.53 kB / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.091, allocations: 0 / 1.093 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.003144/1.094, allocations: 453.8 kB / 1.094 GB, free: 16.7 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches