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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.005366/0.005366, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.001272/0.001272, allocations: 188.6 kB / 16.79 MB, free: 5.805 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.394/1.394, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.763/2.763, allocations: 437 MB / 0.7106 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 67.89 kB / 0.8692 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7608/0.7624, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002784/0.7652, allocations: 0.8859 MB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001619/0.7654, allocations: 39.78 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.7655, allocations: 4 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.353e-05/0.7656, allocations: 11.86 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.7657, allocations: 11.94 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.056e-05/0.7658, allocations: 12 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.7659, allocations: 55.84 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.7661, allocations: 39.97 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.373e-05/0.7661, allocations: 27.8 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.7662, allocations: 27.84 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.7662, allocations: 4 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.7663, allocations: 4 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.7663, allocations: 15.92 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.7663, allocations: 31.75 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.037e-05/0.7664, allocations: 49.88 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.7664, allocations: 3.984 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7665, allocations: 0 / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7665, allocations: 4 kB / 1.018 GB, free: 1.504 MB / 0.7637 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.0004792/0.7669, allocations: 380.6 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.767, allocations: 8.031 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.767, allocations: 8.844 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.7673, allocations: 204.1 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.7673, allocations: 4.375 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.7673, allocations: 8.375 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.7675, allocations: 91.86 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.7675, allocations: 192 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.7675, allocations: 11.94 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.7675, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.691e-05/0.7676, allocations: 43.91 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.7682, allocations: 432.6 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.798e-05/0.7683, allocations: 37.28 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.7683, allocations: 21.84 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.7684, allocations: 0 / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.7684, allocations: 30.56 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.7684, allocations: 4 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002091/0.7686, allocations: 69.38 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.7687, allocations: 77.11 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.7688, allocations: 160.3 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.7688, allocations: 29.64 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.7689, allocations: 104 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.7689, allocations: 11.83 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.769, allocations: 21.97 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7691, allocations: 326.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.7691, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/0.7692, allocations: 21.72 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.053e-05/0.7692, allocations: 21.72 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7692, allocations: 0 / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.535e-05/0.7693, allocations: 65.53 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.7693, allocations: 8 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.7693, allocations: 3.938 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7694, allocations: 0 / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.7694, allocations: 4 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.7694, allocations: 4 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/0.7695, allocations: 3.906 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.7695, allocations: 4 kB / 1.021 GB, free: 15.06 MB / 0.7794 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.195e-05/0.7696, allocations: 121.8 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.7696, allocations: 7.906 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.7697, allocations: 15.81 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7697, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7697, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.7697, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.7701, allocations: 474.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7701, allocations: 4.062 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.7702, allocations: 7.984 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.7702, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.7702, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7702, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.7702, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.752e-05/0.7703, allocations: 81.84 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.7703, allocations: 92.97 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.7704, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.7704, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.7704, allocations: 3.938 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.7704, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.169e-05/0.7705, allocations: 125.5 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.373e-06/0.7705, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001886/0.7707, allocations: 11.94 kB / 1.022 GB, free: 14.02 MB / 0.7794 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.0001234/0.7708, allocations: 107.2 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.665e-05/0.7709, allocations: 15.98 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7709, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-05/0.771, allocations: 7.938 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.7711, allocations: 13.34 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.7715, allocations: 210.5 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.7718, allocations: 0.6965 MB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.7718, allocations: 11.44 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.7718, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.002498/0.7743, allocations: 0.856 MB / 1.023 GB, free: 12.03 MB / 0.7794 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 -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