Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 112.6 kB / 16.37 MB, free: 6 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.001157/0.001157, allocations: 196 kB / 17.31 MB, free: 5.613 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.52/2.52, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 65.19 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.32, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.002039/0.322, allocations: 0.8347 MB / 1.02 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001032/0.3222, allocations: 43.78 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.3222, allocations: 4 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.676e-05/0.3223, allocations: 11.86 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.39e-05/0.3224, allocations: 7.875 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.9e-05/0.3224, allocations: 19.98 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.609e-05/0.3225, allocations: 63.75 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.3227, allocations: 51.95 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/0.3227, allocations: 23.81 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.3228, allocations: 31.78 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.3228, allocations: 8 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.3228, allocations: 4 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.3228, allocations: 19.92 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.3229, allocations: 31.8 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.945e-05/0.323, allocations: 79.66 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.323, allocations: 0 / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.814e-06/0.323, allocations: 0 / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.323, allocations: 0 / 1.02 GB, free: 8.648 MB / 0.795 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.0004127/0.3234, allocations: 375.2 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.3235, allocations: 8.922 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.3235, allocations: 8.844 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.3237, allocations: 192.2 kB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3237, allocations: 16.36 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.3238, allocations: 4.375 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.3239, allocations: 95.8 kB / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3239, allocations: 192 / 1.021 GB, free: 7.863 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3239, allocations: 7.938 kB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.324, allocations: 0 / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.964e-05/0.324, allocations: 39.92 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.3245, allocations: 432.6 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.3246, allocations: 49.11 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.3247, allocations: 25.78 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.562e-06/0.3247, allocations: 0 / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.3247, allocations: 34.56 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.3247, allocations: 0 / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001587/0.3249, allocations: 53.48 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.3249, allocations: 85.09 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3251, allocations: 154.3 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3251, allocations: 25.7 kB / 1.022 GB, free: 6.848 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.3251, allocations: 104.2 kB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.746e-06/0.3252, allocations: 7.906 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.3252, allocations: 21.7 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.3253, allocations: 318.8 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.3253, allocations: 3.984 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.3254, allocations: 21.72 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.3254, allocations: 29.66 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3254, allocations: 0 / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.054e-05/0.3255, allocations: 61.53 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3255, allocations: 8 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3255, allocations: 3.938 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3256, allocations: 0 / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.887e-05/0.3256, allocations: 4 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3256, allocations: 4 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.997e-05/0.3257, allocations: 7.844 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.3257, allocations: 4.062 kB / 1.022 GB, free: 6.223 MB / 0.795 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 7.726e-05/0.3258, allocations: 115.4 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.3258, allocations: 7.906 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.3258, allocations: 19.8 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3258, allocations: 96 / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3258, allocations: 4 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3259, allocations: 3.984 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.3262, allocations: 478.8 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3262, allocations: 4 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.3263, allocations: 4 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3263, allocations: 0 / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3263, allocations: 0 / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3263, allocations: 7.922 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3263, allocations: 0 / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.409e-05/0.3264, allocations: 81.84 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.3264, allocations: 89 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.3264, allocations: 8 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.3265, allocations: 0 / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.3265, allocations: 3.938 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.3265, allocations: 0 / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.679e-05/0.3266, allocations: 121.7 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3266, allocations: 0 / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001834/0.3268, allocations: 8 kB / 1.023 GB, free: 5.176 MB / 0.795 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.0001039/0.3269, allocations: 99.28 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.933e-05/0.327, allocations: 23.92 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.327, allocations: 0 / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.327, allocations: 8 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.3272, allocations: 7.938 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.3274, allocations: 167 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.3277, allocations: 0.6924 MB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.3277, allocations: 4.438 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.3278, allocations: 11.44 kB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3278, allocations: 0 / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of Templates: time 0.002342/0.3301, allocations: 458 kB / 1.024 GB, free: 3.648 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches