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.008714/0.008714, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.00144/0.00144, allocations: 189.4 kB / 16.67 MB, free: 5.973 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.314/2.314, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9943/0.9955, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002719/0.9983, allocations: 0.8309 MB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001379/0.9985, allocations: 33.86 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.9986, allocations: 1.062 kB / 1.089 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.462e-05/0.9986, allocations: 9.141 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.884e-05/0.9988, allocations: 18.41 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.163e-05/0.9988, allocations: 24.44 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.999, allocations: 59.56 kB / 1.089 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.9992, allocations: 37.02 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.083e-05/0.9992, allocations: 30.52 kB / 1.089 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.9993, allocations: 34.8 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.9993, allocations: 5.188 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.9994, allocations: 7.219 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.9994, allocations: 11.16 kB / 1.089 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.9994, allocations: 33.22 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.9996, allocations: 78.39 kB / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9996, allocations: 0 / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9996, allocations: 1.062 kB / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.9996, allocations: 0 / 1.089 GB, free: 4.773 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.0004335/1, allocations: 385.2 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1, allocations: 9.625 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/1, allocations: 9.922 kB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/1, allocations: 192.4 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/1, allocations: 7.719 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/1, allocations: 5.375 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/1.001, allocations: 95.09 kB / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.001, allocations: 192 / 1.09 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/1.001, allocations: 9.938 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/1.001, allocations: 1.375 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.97e-05/1.001, allocations: 40.06 kB / 1.09 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/1.001, allocations: 434 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.723e-05/1.001, allocations: 50.27 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/1.001, allocations: 20.27 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/1.001, allocations: 1.062 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/1.002, allocations: 40.47 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/1.002, allocations: 0 / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/1.002, allocations: 57.17 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/1.002, allocations: 82.14 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/1.002, allocations: 158.5 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/1.002, allocations: 26.27 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/1.002, allocations: 107.8 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.798e-06/1.002, allocations: 9.375 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/1.002, allocations: 14.62 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.817e-05/1.002, allocations: 320.2 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/1.002, allocations: 11.84 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/1.002, allocations: 19.42 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.254e-05/1.002, allocations: 31.2 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.002, allocations: 0 / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.171e-05/1.002, allocations: 58.53 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.002, allocations: 5.312 kB / 1.091 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.002, allocations: 9.094 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.002, allocations: 1.734 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.78e-05/1.002, allocations: 5.766 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.002, allocations: 5.141 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/1.003, allocations: 10.81 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/1.003, allocations: 1.156 kB / 1.091 GB, free: 2.684 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 6.915e-05/1.003, allocations: 114.6 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/1.003, allocations: 8.109 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/1.003, allocations: 16.8 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/1.003, allocations: 5.031 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.003, allocations: 0.6562 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/1.003, allocations: 1.281 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/1.003, allocations: 471.3 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.003, allocations: 3.984 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/1.003, allocations: 3.703 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/1.003, allocations: 0.875 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/1.003, allocations: 5.719 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.003, allocations: 1.062 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.003, allocations: 3.938 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.518e-05/1.003, allocations: 81.34 kB / 1.092 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/1.003, allocations: 90.52 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/1.003, allocations: 1.953 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.311e-05/1.003, allocations: 5.25 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/1.003, allocations: 1.547 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/1.003, allocations: 1.031 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001014/1.003, allocations: 121.2 kB / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.003, allocations: 0 / 1.092 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002128/1.004, allocations: 10.55 kB / 1.092 GB, free: 1.766 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.0001307/1.004, allocations: 97.72 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001177/1.004, allocations: 24.34 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.004, allocations: 0 / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/1.004, allocations: 8.578 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/1.004, allocations: 14.34 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/1.005, allocations: 157.1 kB / 1.092 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/1.005, allocations: 0.6969 MB / 1.093 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.898e-05/1.005, allocations: 7.984 kB / 1.093 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/1.005, allocations: 14.81 kB / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/1.005, allocations: 0 / 1.093 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of Templates: time 0.002846/1.008, allocations: 460.7 kB / 1.094 GB, free: 0.7148 MB / 0.8575 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