Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.005369/0.005369, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.00125/0.00125, allocations: 195.1 kB / 16.79 MB, free: 5.809 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.696/2.696, allocations: 461.9 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 71.14 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3238, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.00236/0.3262, allocations: 0.8862 MB / 1.054 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00013/0.3264, allocations: 35.81 kB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.531e-05/0.3265, allocations: 7.938 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.742e-05/0.3265, allocations: 7.922 kB / 1.054 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.86e-05/0.3266, allocations: 3.984 kB / 1.054 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.203e-05/0.3267, allocations: 19.98 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.944e-05/0.3268, allocations: 59.7 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.327, allocations: 47.94 kB / 1.054 GB, free: 7.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.213e-05/0.327, allocations: 19.88 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.3271, allocations: 27.84 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.3271, allocations: 7.938 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.3271, allocations: 4 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.3271, allocations: 8 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.277e-05/0.3272, allocations: 31.73 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.877e-05/0.3273, allocations: 60.11 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3273, allocations: 0 / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3273, allocations: 4 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.3273, allocations: 0 / 1.054 GB, free: 7.109 MB / 0.8106 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.0004553/0.3278, allocations: 380.8 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3278, allocations: 8.031 kB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.068e-05/0.3279, allocations: 12.84 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.3281, allocations: 188.2 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3281, allocations: 8.375 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.3282, allocations: 4.375 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3283, allocations: 103.8 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3284, allocations: 192 / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3284, allocations: 7.938 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3284, allocations: 0 / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.1e-05/0.3285, allocations: 39.91 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.329, allocations: 440.6 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.535e-05/0.3291, allocations: 33.16 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.414e-05/0.3292, allocations: 25.88 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.3292, allocations: 0 / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3292, allocations: 34.56 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3292, allocations: 0 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001811/0.3294, allocations: 61.47 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.3294, allocations: 77.11 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3296, allocations: 166.2 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3296, allocations: 25.7 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.3297, allocations: 108 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.766e-06/0.3297, allocations: 4.156 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.3298, allocations: 25.66 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3299, allocations: 318.8 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.103e-05/0.3299, allocations: 8 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/0.3299, allocations: 17.72 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.118e-05/0.33, allocations: 29.64 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.33, allocations: 4 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.079e-05/0.3301, allocations: 57.55 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3301, allocations: 4 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3301, allocations: 3.938 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3301, allocations: 0 / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.3302, allocations: 15.98 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3302, allocations: 0 / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.3303, allocations: 7.844 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3303, allocations: 4 kB / 1.056 GB, free: 4.668 MB / 0.8106 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 8.069e-05/0.3303, allocations: 117.9 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.3304, allocations: 7.906 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.3304, allocations: 7.812 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.3304, allocations: 4 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3304, allocations: 3.984 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3305, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.3308, allocations: 474.8 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3308, allocations: 96 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.3309, allocations: 8 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3309, allocations: 3.984 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.3309, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3309, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3309, allocations: 4 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.207e-05/0.331, allocations: 89.8 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.331, allocations: 81.02 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3311, allocations: 4 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.3311, allocations: 0 / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.3311, allocations: 7.922 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.3311, allocations: 4 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.533e-05/0.3312, allocations: 119.1 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3312, allocations: 0 / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001902/0.3314, allocations: 12 kB / 1.057 GB, free: 3.629 MB / 0.8106 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.0001134/0.3315, allocations: 103.3 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.081e-05/0.3316, allocations: 15.94 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3316, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.3316, allocations: 4 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.3318, allocations: 11.94 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.3321, allocations: 218.3 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.3324, allocations: 0.6926 MB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.3325, allocations: 11.44 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.3325, allocations: 4 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.002431/0.3349, allocations: 0.8471 MB / 1.059 GB, free: 1.652 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches