Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.00133/0.00133, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001492/0.001492, allocations: 191.5 kB / 16.25 MB, free: 6.637 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.457/1.457, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.499/2.499, allocations: 390.2 MB / 0.6644 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.88 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.8602, allocations: 140.4 MB / 0.9491 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.001854/0.8621, allocations: 0.8814 MB / 0.95 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.621e-05/0.8622, allocations: 35.92 kB / 0.95 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.8623, allocations: 6.688 kB / 0.95 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.838e-05/0.8624, allocations: 7.922 kB / 0.95 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.551e-05/0.8624, allocations: 3.938 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.93e-05/0.8625, allocations: 16.11 kB / 0.95 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.139e-05/0.8626, allocations: 55.3 kB / 0.9501 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.8627, allocations: 52.42 kB / 0.9501 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.8628, allocations: 28.06 kB / 0.9502 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/0.8628, allocations: 31.91 kB / 0.9502 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.8628, allocations: 6.875 kB / 0.9502 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-06/0.8628, allocations: 5.5 kB / 0.9502 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.8629, allocations: 14.69 kB / 0.9502 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.8629, allocations: 30.67 kB / 0.9502 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.672e-05/0.863, allocations: 78.05 kB / 0.9503 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.863, allocations: 5.312 kB / 0.9503 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.863, allocations: 0 / 0.9503 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.863, allocations: 0 / 0.9503 GB, free: 8.188 MB / 0.7169 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.0003253/0.8633, allocations: 378.5 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.8634, allocations: 9.625 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.8634, allocations: 8.969 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.8636, allocations: 191.2 kB / 0.9509 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.8636, allocations: 11.12 kB / 0.9509 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.8636, allocations: 9.438 kB / 0.9509 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.8638, allocations: 89.78 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.8638, allocations: 192 / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.8638, allocations: 9.688 kB / 0.951 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8638, allocations: 1.094 kB / 0.951 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.812e-05/0.8639, allocations: 34.92 kB / 0.951 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.8643, allocations: 441.1 kB / 0.9515 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/0.8643, allocations: 37.47 kB / 0.9515 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.8644, allocations: 23.42 kB / 0.9515 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/0.8644, allocations: 5.312 kB / 0.9515 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.194e-05/0.8644, allocations: 31.94 kB / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.8644, allocations: 0 / 0.9516 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001519/0.8645, allocations: 55.08 kB / 0.9516 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.8646, allocations: 82.27 kB / 0.9517 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.8647, allocations: 162.4 kB / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.8647, allocations: 27.23 kB / 0.9519 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.8647, allocations: 115.8 kB / 0.952 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.832e-06/0.8648, allocations: 8.938 kB / 0.952 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.8648, allocations: 17.22 kB / 0.952 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.8648, allocations: 318.1 kB / 0.9523 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.8649, allocations: 6.469 kB / 0.9523 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.938e-05/0.8649, allocations: 22.8 kB / 0.9523 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.8649, allocations: 26.69 kB / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8649, allocations: 0 / 0.9524 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.877e-05/0.865, allocations: 62.75 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.865, allocations: 5.719 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.865, allocations: 3.938 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.865, allocations: 1.156 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.8651, allocations: 5.688 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.8651, allocations: 1.25 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.628e-05/0.8651, allocations: 6.75 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.8652, allocations: 1.531 kB / 0.9524 GB, free: 6.027 MB / 0.7169 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 4.568e-05/0.8652, allocations: 121 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.8652, allocations: 6.875 kB / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.935e-05/0.8653, allocations: 14.52 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.8653, allocations: 1.312 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8653, allocations: 1.125 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.8653, allocations: 0 / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.8655, allocations: 479.2 kB / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8656, allocations: 96 / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.8656, allocations: 2.656 kB / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.8656, allocations: 5.359 kB / 0.953 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.8656, allocations: 5.344 kB / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.8656, allocations: 0 / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.8656, allocations: 1.688 kB / 0.9531 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.675e-05/0.8657, allocations: 85.33 kB / 0.9531 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/0.8657, allocations: 92.38 kB / 0.9532 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.8657, allocations: 1.406 kB / 0.9532 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.8658, allocations: 3.938 kB / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.378e-05/0.8658, allocations: 1.156 kB / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.8658, allocations: 2.188 kB / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.8658, allocations: 120.6 kB / 0.9533 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.61e-07/0.8659, allocations: 4.031 kB / 0.9533 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001896/0.866, allocations: 14.84 kB / 0.9534 GB, free: 5.062 MB / 0.7169 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 7.959e-05/0.8661, allocations: 96.12 kB / 0.9535 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.959e-05/0.8662, allocations: 16.5 kB / 0.9535 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8662, allocations: 0 / 0.9535 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.006e-05/0.8662, allocations: 10.64 kB / 0.9535 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.8664, allocations: 12.16 kB / 0.9535 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.8667, allocations: 183 kB / 0.9537 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.8668, allocations: 0.702 MB / 0.9544 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.8668, allocations: 4.688 kB / 0.9544 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.8669, allocations: 11.66 kB / 0.9544 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8669, allocations: 0 / 0.9544 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of Templates: time 0.002389/0.8693, allocations: 458.4 kB / 0.9548 GB, free: 3.828 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches