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.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.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.001387/0.001386, allocations: 108 kB / 15.99 MB, free: 6.363 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.001355/0.001355, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 13.68 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.524/2.524, allocations: 437 MB / 0.7107 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 68.16 kB / 0.8694 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.308, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.00205/0.3101, allocations: 0.8857 MB / 1.018 GB, free: 10.13 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001045/0.3102, allocations: 43.78 kB / 1.018 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.3103, allocations: 4 kB / 1.018 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.005e-05/0.3104, allocations: 3.938 kB / 1.018 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.586e-05/0.3104, allocations: 11.92 kB / 1.018 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.336e-05/0.3105, allocations: 8 kB / 1.018 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.3106, allocations: 67.75 kB / 1.018 GB, free: 9.992 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3108, allocations: 47.97 kB / 1.019 GB, free: 9.945 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.3108, allocations: 27.86 kB / 1.019 GB, free: 9.918 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.3109, allocations: 27.8 kB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.3109, allocations: 4 kB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.3109, allocations: 8 kB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.311, allocations: 19.91 kB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.311, allocations: 31.75 kB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.066e-05/0.3111, allocations: 52.19 kB / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.3111, allocations: 0 / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3111, allocations: 4 kB / 1.019 GB, free: 9.773 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3111, allocations: 3.938 kB / 1.019 GB, free: 9.77 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.0003897/0.3115, allocations: 379.2 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3116, allocations: 8.922 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.3116, allocations: 8.844 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.3118, allocations: 204.1 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3118, allocations: 8.375 kB / 1.019 GB, free: 9.086 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.3118, allocations: 4.375 kB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.312, allocations: 99.86 kB / 1.019 GB, free: 8.973 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.312, allocations: 192 / 1.019 GB, free: 8.973 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.312, allocations: 11.94 kB / 1.019 GB, free: 8.961 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.312, allocations: 0 / 1.019 GB, free: 8.961 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/0.3121, allocations: 35.92 kB / 1.019 GB, free: 8.926 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.3126, allocations: 436.5 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.3127, allocations: 41.27 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.359e-05/0.3128, allocations: 21.84 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.3128, allocations: 0 / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.3128, allocations: 34.56 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3128, allocations: 0 / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001516/0.313, allocations: 57.48 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.313, allocations: 81.09 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.3132, allocations: 154.3 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.3132, allocations: 25.7 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.3133, allocations: 104 kB / 1.02 GB, free: 7.855 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.809e-06/0.3133, allocations: 12.16 kB / 1.02 GB, free: 7.844 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.3133, allocations: 21.64 kB / 1.02 GB, free: 7.816 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.3135, allocations: 322.8 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.07e-05/0.3135, allocations: 11.98 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.962e-05/0.3136, allocations: 13.72 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.857e-05/0.3137, allocations: 25.72 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3137, allocations: 4 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.977e-05/0.3138, allocations: 61.53 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3138, allocations: 8 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3138, allocations: 3.938 kB / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.3138, allocations: 0 / 1.021 GB, free: 7.348 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.3139, allocations: 8 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3139, allocations: 0 / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.3139, allocations: 11.84 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3139, allocations: 4 kB / 1.021 GB, free: 7.324 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 6.895e-05/0.314, allocations: 113.9 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.3141, allocations: 15.89 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.3141, allocations: 11.75 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3141, allocations: 3.938 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3141, allocations: 4 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3141, allocations: 0 / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.3145, allocations: 470.8 kB / 1.021 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3145, allocations: 3.938 kB / 1.021 GB, free: 6.641 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.3146, allocations: 4 kB / 1.021 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3146, allocations: 0 / 1.021 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.3146, allocations: 96 / 1.021 GB, free: 6.637 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3146, allocations: 3.984 kB / 1.021 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3146, allocations: 0 / 1.021 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.702e-05/0.3147, allocations: 85.89 kB / 1.021 GB, free: 6.527 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.3148, allocations: 89 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.3148, allocations: 4 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.3148, allocations: 0 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.3148, allocations: 0 / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.3148, allocations: 3.938 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.065e-05/0.3149, allocations: 121.5 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3149, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002097/0.3151, allocations: 8 kB / 1.022 GB, free: 6.289 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.0001105/0.3153, allocations: 107.3 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.3153, allocations: 19.92 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3153, allocations: 0 / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.195e-05/0.3154, allocations: 7.938 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.3155, allocations: 13.77 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.3158, allocations: 204.8 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3161, allocations: 0.6963 MB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.3162, allocations: 11.44 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3162, allocations: 4 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of Templates: time 0.002675/0.3189, allocations: 0.856 MB / 1.024 GB, free: 4.301 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 -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