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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001547/0.001547, allocations: 105.4 kB / 16.41 MB, free: 6.461 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.001952/0.001952, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.674/2.674, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 63.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8999/0.9015, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002311/0.9038, allocations: 0.8309 MB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001372/0.904, allocations: 35.8 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.9041, allocations: 4 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.456e-05/0.9041, allocations: 11.86 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.61e-05/0.9042, allocations: 11.88 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.773e-05/0.9043, allocations: 19.98 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.9044, allocations: 63.83 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.9046, allocations: 43.91 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.9047, allocations: 23.94 kB / 1.209 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/0.9047, allocations: 31.78 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.9047, allocations: 4 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.9048, allocations: 8 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.9048, allocations: 23.86 kB / 1.21 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.9048, allocations: 31.81 kB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.905, allocations: 67.7 kB / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.905, allocations: 0 / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/0.905, allocations: 0 / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.905, allocations: 0 / 1.21 GB, free: 12.4 MB / 0.9356 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.000517/0.9055, allocations: 392.8 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.9056, allocations: 8.031 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.9056, allocations: 12.84 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.9059, allocations: 200.1 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.9059, allocations: 4.375 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.9059, allocations: 8.375 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.9061, allocations: 87.95 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.9061, allocations: 8.125 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.9061, allocations: 7.938 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.9061, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.52e-05/0.9062, allocations: 39.92 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.9068, allocations: 432.7 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.777e-05/0.9069, allocations: 53.08 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.9069, allocations: 13.84 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.9069, allocations: 4 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.907, allocations: 38.5 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.907, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001953/0.9072, allocations: 53.78 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.9072, allocations: 89.05 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.9074, allocations: 156.3 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.9074, allocations: 29.7 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.9075, allocations: 99.98 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.9075, allocations: 7.891 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.9076, allocations: 17.72 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.9077, allocations: 314.8 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.9077, allocations: 11.98 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.9078, allocations: 25.7 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.405e-05/0.9078, allocations: 21.72 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9078, allocations: 0 / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.117e-05/0.9079, allocations: 61.53 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.9079, allocations: 10.19 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9079, allocations: 8 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.908, allocations: 0 / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.609e-05/0.908, allocations: 4 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.9081, allocations: 0 / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.9081, allocations: 11.84 kB / 1.212 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.9081, allocations: 0 / 1.212 GB, free: 9.957 MB / 0.9356 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.542e-05/0.9082, allocations: 117.8 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.9082, allocations: 11.89 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.9083, allocations: 15.81 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.9083, allocations: 4 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.9083, allocations: 0 / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9083, allocations: 4 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.9087, allocations: 462.8 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9087, allocations: 4 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.9087, allocations: 0 / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.9087, allocations: 7.984 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.9088, allocations: 4.062 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.9088, allocations: 0 / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9088, allocations: 0 / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.9089, allocations: 89.72 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.9089, allocations: 92.94 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.909, allocations: 0 / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.251e-05/0.909, allocations: 4 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.909, allocations: 8.031 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.909, allocations: 0 / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001031/0.9091, allocations: 121.7 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9091, allocations: 0 / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000203/0.9093, allocations: 11.91 kB / 1.213 GB, free: 8.902 MB / 0.9356 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.0001262/0.9095, allocations: 95.25 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.182e-05/0.9096, allocations: 23.92 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9096, allocations: 4.125 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.9096, allocations: 4 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.9098, allocations: 11.94 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.9101, allocations: 188.5 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.9104, allocations: 0.6925 MB / 1.214 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.9104, allocations: 15.44 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.9104, allocations: 0 / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of Templates: time 0.002467/0.9129, allocations: 0.8638 MB / 1.214 GB, free: 6.934 MB / 0.9356 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/jenkins1/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