Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.002071/0.002071, allocations: 108.1 kB / 16.41 MB, free: 6.41 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.002024/0.002024, allocations: 191.5 kB / 17.34 MB, free: 5.691 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.63/1.63, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.824/2.824, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9877/0.9896, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002355/0.992, allocations: 0.8314 MB / 1.168 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001325/0.9922, allocations: 39.84 kB / 1.168 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.9922, allocations: 4 kB / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.441e-05/0.9923, allocations: 11.86 kB / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.174e-05/0.9924, allocations: 7.875 kB / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.646e-05/0.9924, allocations: 15.98 kB / 1.168 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.9926, allocations: 67.84 kB / 1.168 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.9928, allocations: 47.89 kB / 1.168 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.008e-05/0.9928, allocations: 19.94 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.9929, allocations: 31.78 kB / 1.168 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.993, allocations: 8 kB / 1.168 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.993, allocations: 8 kB / 1.168 GB, free: 2.773 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.993, allocations: 15.94 kB / 1.168 GB, free: 2.758 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.9931, allocations: 35.78 kB / 1.168 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.9932, allocations: 71.17 kB / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.9932, allocations: 0 / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.585e-06/0.9932, allocations: 0 / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.2e-05/0.9932, allocations: 0 / 1.168 GB, free: 2.656 MB / 0.8887 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.0005679/0.9938, allocations: 384.1 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.9939, allocations: 12.62 kB / 1.169 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.9939, allocations: 12.84 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.9942, allocations: 204.1 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.9942, allocations: 4.375 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.9942, allocations: 12.31 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.9944, allocations: 94.31 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.9944, allocations: 192 / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.9945, allocations: 11.94 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.9945, allocations: 0 / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.714e-05/0.9946, allocations: 43.92 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.9952, allocations: 428.8 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.54e-05/0.9953, allocations: 41.19 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.9953, allocations: 25.83 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.9953, allocations: 4 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.9954, allocations: 30.56 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.9954, allocations: 0 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001811/0.9956, allocations: 53.53 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.9956, allocations: 85.36 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.9958, allocations: 156.7 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.9958, allocations: 29.7 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.9959, allocations: 108 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.996, allocations: 3.953 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.996, allocations: 21.7 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.9962, allocations: 314.8 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.9962, allocations: 4 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.63e-05/0.9962, allocations: 29.64 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.9963, allocations: 25.72 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.9963, allocations: 0 / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.588e-05/0.9964, allocations: 65.53 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.9964, allocations: 6.5 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9964, allocations: 7.938 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.9964, allocations: 0 / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.9965, allocations: 8.062 kB / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9965, allocations: 0 / 1.171 GB, free: 224 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.9966, allocations: 7.938 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.9966, allocations: 0 / 1.171 GB, free: 216 kB / 0.8887 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 9.335e-05/0.9967, allocations: 117.8 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.9967, allocations: 7.953 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.9968, allocations: 23.8 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.9968, allocations: 0 / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.9968, allocations: 0 / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.9968, allocations: 8 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.9973, allocations: 466.7 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9973, allocations: 4 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.722e-05/0.9973, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.9973, allocations: 8.031 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.9973, allocations: 3.984 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.9973, allocations: 3.938 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.9973, allocations: 3.984 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.9974, allocations: 81.95 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.9975, allocations: 89.05 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.9975, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.9976, allocations: 4 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.9976, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.9976, allocations: 32 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001067/0.9977, allocations: 129.7 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9977, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001843/0.9979, allocations: 8 kB / 1.172 GB, free: 15.15 MB / 0.9044 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.00015/0.9981, allocations: 95.25 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.9982, allocations: 23.92 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9982, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.9982, allocations: 8.188 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.9984, allocations: 15.88 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.9988, allocations: 166.5 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.9991, allocations: 0.6928 MB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.9992, allocations: 4.5 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.9992, allocations: 15.44 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of SimCode: time 6.12e-07/0.9992, allocations: 0 / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.003093/1.002, allocations: 456.5 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches