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.001569/0.001569, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001744/0.001744, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.643/1.643, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.59/2.59, allocations: 437.1 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001923, allocations: 66.95 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002284/0.3194, allocations: 0.8155 MB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001323/0.3195, allocations: 43.78 kB / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.3196, allocations: 0 / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.3197, allocations: 11.88 kB / 1.019 GB, free: 9.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.146e-05/0.3198, allocations: 11.81 kB / 1.019 GB, free: 9.738 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.066e-05/0.3198, allocations: 23.97 kB / 1.019 GB, free: 9.715 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.3199, allocations: 59.77 kB / 1.019 GB, free: 9.656 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.3201, allocations: 51.95 kB / 1.019 GB, free: 9.605 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.3201, allocations: 19.88 kB / 1.019 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.978e-05/0.3202, allocations: 31.83 kB / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3202, allocations: 8 kB / 1.019 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.216e-05/0.3202, allocations: 8 kB / 1.019 GB, free: 9.539 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/0.3203, allocations: 15.88 kB / 1.019 GB, free: 9.523 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.3203, allocations: 35.8 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.3204, allocations: 71.98 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3205, allocations: 0 / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.195e-06/0.3205, allocations: 0 / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.3205, allocations: 0 / 1.019 GB, free: 9.418 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.0004624/0.321, allocations: 383.2 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.321, allocations: 8.922 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.321, allocations: 12.84 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.3213, allocations: 188.2 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3213, allocations: 8.312 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3213, allocations: 8.375 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3215, allocations: 99.84 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3215, allocations: 4.188 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3215, allocations: 3.938 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3215, allocations: 0 / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.69e-05/0.3216, allocations: 39.92 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.3222, allocations: 432.5 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/0.3223, allocations: 45.19 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.3223, allocations: 17.84 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3223, allocations: 3.984 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3224, allocations: 34.56 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 3.247e-06/0.3224, allocations: 4 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001827/0.3226, allocations: 57.48 kB / 1.02 GB, free: 7.902 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/0.3226, allocations: 77.11 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.3228, allocations: 160.9 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.3229, allocations: 25.7 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.323, allocations: 104 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.323, allocations: 7.891 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.323, allocations: 17.97 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3232, allocations: 326.8 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.3232, allocations: 7.938 kB / 1.021 GB, free: 7.137 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.936e-05/0.3233, allocations: 25.64 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.728e-05/0.3233, allocations: 29.72 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3233, allocations: 0 / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.844e-05/0.3234, allocations: 61.55 kB / 1.021 GB, free: 7.004 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3234, allocations: 4 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3235, allocations: 7.922 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3235, allocations: 0 / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/0.3235, allocations: 8 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3235, allocations: 0 / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.3236, allocations: 7.844 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.3236, allocations: 4 kB / 1.021 GB, free: 6.973 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 0.0001127/0.3237, allocations: 113.8 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.3238, allocations: 11.97 kB / 1.021 GB, free: 6.84 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.3238, allocations: 15.8 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3238, allocations: 4 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3238, allocations: 0 / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3238, allocations: 0 / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.3243, allocations: 470.8 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3243, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.44e-05/0.3243, allocations: 8.062 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3244, allocations: 3.938 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3244, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3244, allocations: 3.938 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.3244, allocations: 4 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.3245, allocations: 77.83 kB / 1.022 GB, free: 6.18 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.236e-05/0.3246, allocations: 81.02 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.3246, allocations: 16.02 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.119e-05/0.3246, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.18e-05/0.3246, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.3247, allocations: 4 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001048/0.3248, allocations: 117.3 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3248, allocations: 4 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001915/0.325, allocations: 4 kB / 1.022 GB, free: 5.941 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.0001341/0.3251, allocations: 103.3 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.022e-05/0.3252, allocations: 16 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3252, allocations: 0 / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.625e-05/0.3252, allocations: 19.92 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.3254, allocations: 10.59 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.3258, allocations: 181.5 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.3261, allocations: 0.6967 MB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.3262, allocations: 15.38 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3262, allocations: 0 / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of Templates: time 0.002601/0.3288, allocations: 0.8652 MB / 1.024 GB, free: 3.969 MB / 0.795 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