Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002315/0.002315, allocations: 193.4 kB / 16.13 MB, free: 6.703 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.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.58 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.394, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.00228/0.3963, allocations: 0.8926 MB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001199/0.3964, allocations: 39.78 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.613e-05/0.3965, allocations: 0 / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.394e-05/0.3965, allocations: 3.938 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.84e-05/0.3967, allocations: 7.938 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.098e-05/0.3967, allocations: 19.98 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.225e-05/0.3968, allocations: 51.84 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.397, allocations: 43.97 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.397, allocations: 19.88 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.833e-05/0.3971, allocations: 31.78 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3971, allocations: 4 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.3971, allocations: 4 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.139e-05/0.3971, allocations: 15.92 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.3972, allocations: 31.73 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3973, allocations: 68.06 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3973, allocations: 0 / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3973, allocations: 4 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3973, allocations: 0 / 1.069 GB, free: 9.641 MB / 0.8262 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.0004407/0.3978, allocations: 379.2 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3978, allocations: 12.03 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.3979, allocations: 8.844 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.3981, allocations: 192.1 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3981, allocations: 12.36 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.3981, allocations: 12.31 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3983, allocations: 93.83 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3983, allocations: 192 / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3983, allocations: 3.938 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3983, allocations: 4 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.488e-05/0.3984, allocations: 43.86 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.399, allocations: 432.5 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.19e-05/0.3991, allocations: 49.33 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.3991, allocations: 13.78 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3992, allocations: 4 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3992, allocations: 38.56 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.3992, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001811/0.3994, allocations: 53.48 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.3994, allocations: 81.09 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.3996, allocations: 161.1 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.3996, allocations: 25.7 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.3997, allocations: 108.2 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.3997, allocations: 7.906 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.3998, allocations: 21.7 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.3999, allocations: 314.8 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.3999, allocations: 11.92 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.3999, allocations: 21.7 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.4, allocations: 29.72 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.335e-05/0.4001, allocations: 61.53 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4001, allocations: 4 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4001, allocations: 3.938 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4001, allocations: 4 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.4002, allocations: 4 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4002, allocations: 0 / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.743e-05/0.4003, allocations: 11.84 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.4003, allocations: 4.062 kB / 1.071 GB, free: 7.199 MB / 0.8262 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.154e-05/0.4004, allocations: 113.8 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.4004, allocations: 7.906 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.4005, allocations: 19.8 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.4005, allocations: 3.938 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4005, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.4005, allocations: 0 / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.4009, allocations: 478.8 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4009, allocations: 0 / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.4009, allocations: 7.938 kB / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.4009, allocations: 4 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.4009, allocations: 4 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.401, allocations: 3.984 kB / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.401, allocations: 0 / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.051e-05/0.401, allocations: 81.84 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.4011, allocations: 93 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.4011, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.4011, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.4012, allocations: 4 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.4012, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.61e-05/0.4013, allocations: 121.5 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4013, allocations: 3.938 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001887/0.4015, allocations: 15.94 kB / 1.072 GB, free: 6.141 MB / 0.8262 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.0001269/0.4016, allocations: 95.25 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.635e-05/0.4017, allocations: 19.98 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4017, allocations: 0 / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.4017, allocations: 11.94 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.4019, allocations: 4.969 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.4022, allocations: 184.8 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.4025, allocations: 0.6926 MB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.34e-05/0.4026, allocations: 8.438 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.4026, allocations: 11.44 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of SimCode: time 9.52e-07/0.4026, allocations: 0 / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of Templates: time 0.002579/0.4052, allocations: 444.6 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches