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.00104/0.001041, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008206/0.008206, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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.604/2.604, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 8 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.726/0.7264, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.0009739/0.7274, allocations: 0.5508 MB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001019/0.7275, allocations: 43.78 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.7276, allocations: 4 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.7276, allocations: 3.938 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.681e-05/0.7277, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.467e-05/0.7277, allocations: 23.92 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.653e-05/0.7278, allocations: 55.84 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.728, allocations: 43.94 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.728, allocations: 19.88 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.794e-05/0.7281, allocations: 19.86 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.7281, allocations: 0 / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-06/0.7281, allocations: 4 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.7281, allocations: 7.875 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.7282, allocations: 57.5 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.608e-05/0.7283, allocations: 65.66 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7283, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7283, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.7283, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.7794 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.0003511/0.7287, allocations: 367.2 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.7287, allocations: 12.03 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.7288, allocations: 12.83 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.7289, allocations: 188.2 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.7289, allocations: 4.375 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.729, allocations: 8.375 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.7291, allocations: 95.89 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.7291, allocations: 192 / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.7291, allocations: 3.938 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.7292, allocations: 7.938 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.7292, allocations: 43.91 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.7297, allocations: 440.5 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.255e-05/0.7298, allocations: 41.19 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.7298, allocations: 21.84 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.7299, allocations: 0 / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.7299, allocations: 34.56 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.7299, allocations: 0 / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001485/0.73, allocations: 57.47 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.7301, allocations: 81.11 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.7303, allocations: 164.7 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.7303, allocations: 25.7 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.7304, allocations: 108.2 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.163e-06/0.7304, allocations: 7.906 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.7304, allocations: 13.72 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.7305, allocations: 322.8 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.7305, allocations: 4 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.2e-05/0.7306, allocations: 17.72 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.7306, allocations: 29.64 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7306, allocations: 4 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.354e-05/0.7307, allocations: 61.55 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7307, allocations: 6.031 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7307, allocations: 3.938 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.7307, allocations: 0 / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.005e-05/0.7308, allocations: 11.98 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.7308, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.7309, allocations: 3.906 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.7309, allocations: 4 kB / 1.026 GB, free: 12.52 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 6.747e-05/0.7309, allocations: 117.9 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.731, allocations: 7.906 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.731, allocations: 11.81 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.731, allocations: 4 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.731, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.731, allocations: 3.984 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.7314, allocations: 470.8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7314, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.7315, allocations: 4.094 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.7315, allocations: 7.922 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.7315, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7315, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7315, allocations: 11.88 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.988e-05/0.7316, allocations: 85.89 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.809e-05/0.7316, allocations: 84.95 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.7317, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.985e-05/0.7317, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.7317, allocations: 3.984 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.7317, allocations: 4 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.538e-05/0.7318, allocations: 115.3 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7318, allocations: 4 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001852/0.732, allocations: 4 kB / 1.027 GB, free: 11.48 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.0001157/0.7321, allocations: 111.2 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.097e-05/0.7322, allocations: 15.94 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7322, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.006e-05/0.7322, allocations: 4 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.7324, allocations: 11.94 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.7327, allocations: 188.7 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.733, allocations: 0.6926 MB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.454e-05/0.733, allocations: 12.42 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.733, allocations: 11.44 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.733, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of Templates: time 0.002376/0.7354, allocations: 424.5 kB / 1.028 GB, free: 9.945 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/jenkins/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