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.006238/0.006239, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.001262/0.001262, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.16 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.402/2.402, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 67.89 kB / 0.9509 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163/1.164, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002399/1.167, allocations: 0.8289 MB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001314/1.167, allocations: 41.16 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/1.167, allocations: 0.9688 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.442e-05/1.167, allocations: 13.7 kB / 1.089 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.556e-05/1.167, allocations: 9.766 kB / 1.089 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.528e-05/1.167, allocations: 21.16 kB / 1.089 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/1.168, allocations: 59.55 kB / 1.089 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/1.168, allocations: 40.98 kB / 1.089 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/1.168, allocations: 25.52 kB / 1.089 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/1.168, allocations: 35.36 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/1.168, allocations: 6.344 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/1.168, allocations: 5.188 kB / 1.089 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/1.168, allocations: 13.55 kB / 1.089 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/1.168, allocations: 35.53 kB / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/1.168, allocations: 75.78 kB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.168, allocations: 0 / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.014e-06/1.168, allocations: 0 / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.168, allocations: 9.359 kB / 1.089 GB, free: 4.73 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.0004334/1.169, allocations: 374.3 kB / 1.089 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.169, allocations: 8.656 kB / 1.089 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/1.169, allocations: 14.44 kB / 1.089 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/1.169, allocations: 191.4 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/1.169, allocations: 8.453 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/1.169, allocations: 5.062 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/1.169, allocations: 95.27 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/1.169, allocations: 192 / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/1.169, allocations: 5.672 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/1.169, allocations: 1.125 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.271e-05/1.169, allocations: 39.88 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/1.17, allocations: 431 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.384e-05/1.17, allocations: 49.36 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/1.17, allocations: 21.05 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/1.17, allocations: 0 / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/1.17, allocations: 36.36 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/1.17, allocations: 1.188 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001994/1.17, allocations: 59.91 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/1.17, allocations: 82.64 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/1.17, allocations: 161 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/1.171, allocations: 27.02 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/1.171, allocations: 103.2 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/1.171, allocations: 13.94 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/1.171, allocations: 13.8 kB / 1.091 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.912e-05/1.171, allocations: 324.3 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/1.171, allocations: 8.047 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/1.171, allocations: 20.17 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/1.171, allocations: 27.61 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.171, allocations: 0 / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.51e-05/1.171, allocations: 61.33 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.171, allocations: 5.672 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/1.171, allocations: 5.031 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.171, allocations: 0.6094 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-05/1.171, allocations: 6.828 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.171, allocations: 1.094 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/1.171, allocations: 6.703 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/1.171, allocations: 5.188 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 7.186e-05/1.171, allocations: 114.3 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/1.171, allocations: 13.16 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/1.171, allocations: 24.64 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/1.171, allocations: 0 / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.171, allocations: 1.094 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/1.171, allocations: 2 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/1.172, allocations: 469.8 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.172, allocations: 1.062 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.912e-05/1.172, allocations: 6.75 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/1.172, allocations: 1.812 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/1.172, allocations: 1.094 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.172, allocations: 1.188 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.172, allocations: 0.5156 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.428e-05/1.172, allocations: 81 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/1.172, allocations: 93.67 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/1.172, allocations: 5.641 kB / 1.092 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/1.172, allocations: 5.797 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/1.172, allocations: 1.094 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/1.172, allocations: 1.719 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.483e-05/1.172, allocations: 118.5 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.172, allocations: 0 / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002028/1.172, allocations: 7.312 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.0001253/1.172, allocations: 106.2 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.947e-05/1.173, allocations: 20 kB / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.173, allocations: 0 / 1.092 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.024e-05/1.173, allocations: 8.438 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/1.173, allocations: 12.36 kB / 1.092 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/1.173, allocations: 160 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001677/1.173, allocations: 0.6964 MB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.137e-05/1.173, allocations: 7.047 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/1.173, allocations: 10.72 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/1.173, allocations: 0.9062 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of Templates: time 0.003091/1.176, allocations: 462.3 kB / 1.094 GB, free: 0.6914 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