Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002627/0.002627, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00327/0.00327, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.551 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.423/3.423, allocations: 429.5 MB / 0.6729 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.754e-05, allocations: 5.547 kB / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002055/0.002082, allocations: 0.8158 MB / 0.8782 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001257/0.002208, allocations: 45.03 kB / 0.8783 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.00226, allocations: 0 / 0.8783 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.002295, allocations: 9.188 kB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.002395, allocations: 18.02 kB / 0.8783 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.012e-05/0.002445, allocations: 15.98 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.002566, allocations: 59.84 kB / 0.8784 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.002687, allocations: 35.91 kB / 0.8784 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.245e-05/0.00277, allocations: 39.75 kB / 0.8785 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.002827, allocations: 19.89 kB / 0.8785 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.002849, allocations: 8 kB / 0.8785 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.002859, allocations: 7.938 kB / 0.8785 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.002881, allocations: 12 kB / 0.8785 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.00291, allocations: 15.92 kB / 0.8785 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.003038, allocations: 79.64 kB / 0.8786 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.00304, allocations: 0 / 0.8786 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.01e-07/0.00304, allocations: 0 / 0.8786 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.003044, allocations: 0 / 0.8786 GB, free: 5.523 MB / 0.8386 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.0005291/0.003573, allocations: 412.9 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.00361, allocations: 8.031 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.905e-05/0.003659, allocations: 17.92 kB / 0.879 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.003876, allocations: 140.4 kB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.003892, allocations: 9.5 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.003906, allocations: 4.375 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.004081, allocations: 104.2 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.00409, allocations: 1.219 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.004104, allocations: 4.359 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.00411, allocations: 4.375 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.135e-05/0.004202, allocations: 44.92 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006379/0.00484, allocations: 470.4 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.048e-05/0.00493, allocations: 58.81 kB / 0.8798 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/0.004978, allocations: 28.75 kB / 0.8798 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.004989, allocations: 0 / 0.8798 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.00502, allocations: 33.39 kB / 0.8799 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.005021, allocations: 0.5938 kB / 0.8799 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001902/0.005211, allocations: 55 kB / 0.8799 GB, free: 4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.005274, allocations: 85.05 kB / 0.88 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.005454, allocations: 198.6 kB / 0.8802 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.005472, allocations: 25.7 kB / 0.8802 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.005583, allocations: 159.2 kB / 0.8804 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.005593, allocations: 7.953 kB / 0.8804 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.005635, allocations: 20.47 kB / 0.8804 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002601/0.005895, allocations: 0.4884 MB / 0.8809 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.43e-05/0.005919, allocations: 11.98 kB / 0.8809 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.005949, allocations: 20.03 kB / 0.8809 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.56e-05/0.006005, allocations: 35.94 kB / 0.8809 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.006006, allocations: 5.094 kB / 0.881 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.556e-05/0.006102, allocations: 61.08 kB / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.006123, allocations: 4 kB / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.006127, allocations: 96 / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.006144, allocations: 7.984 kB / 0.881 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.006201, allocations: 4 kB / 0.881 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.006207, allocations: 3.938 kB / 0.881 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.006237, allocations: 7.938 kB / 0.881 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.006245, allocations: 4 kB / 0.881 GB, free: 2.781 MB / 0.8386 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.0001135/0.006358, allocations: 160.6 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.006404, allocations: 12.77 kB / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.006425, allocations: 3.469 kB / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.006426, allocations: 0.5938 kB / 0.8812 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.006431, allocations: 4 kB / 0.8812 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.006436, allocations: 5.344 kB / 0.8812 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007307/0.007166, allocations: 0.5578 MB / 0.8818 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.00717, allocations: 4 kB / 0.8818 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.00719, allocations: 4.375 kB / 0.8818 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.007192, allocations: 4 kB / 0.8818 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.007199, allocations: 3.938 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.007203, allocations: 3.938 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007204, allocations: 0 / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.007329, allocations: 96.08 kB / 0.8819 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.00735, allocations: 3.953 kB / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.007363, allocations: 7.938 kB / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.789e-05/0.007381, allocations: 0 / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.007399, allocations: 7.922 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.007405, allocations: 4.031 kB / 0.8819 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001008/0.007505, allocations: 147.2 kB / 0.882 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007506, allocations: 0 / 0.882 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001819/0.007687, allocations: 8 kB / 0.882 GB, free: 1.664 MB / 0.8386 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.000112/0.007799, allocations: 99.19 kB / 0.8821 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.174e-05/0.007891, allocations: 23.67 kB / 0.8822 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.007893, allocations: 0 / 0.8822 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.468e-05/0.007918, allocations: 19.62 kB / 0.8822 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.008067, allocations: 8.938 kB / 0.8822 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.008411, allocations: 174.6 kB / 0.8824 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.06e-05/0.008492, allocations: 83.17 kB / 0.8824 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.008516, allocations: 4 kB / 0.8824 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.008539, allocations: 8.5 kB / 0.8824 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of SimCode: time 4.2e-07/0.008539, allocations: 0 / 0.8824 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of Templates: time 0.00279/0.01133, allocations: 358.3 kB / 0.8828 GB, free: 0.8242 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.506234628963284]