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.001799/0.001799, allocations: 88.72 kB / 19.44 MB, free: 356 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.002322/0.002322, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.607/1.607, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.233/3.233, allocations: 429.6 MB / 0.673 GB, free: 3.895 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 5.099e-06/5.099e-06, allocations: 3.984 kB / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/3.092e-05, allocations: 3.562 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002149/0.00218, allocations: 0.8069 MB / 0.8784 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001329/0.002313, allocations: 36.97 kB / 0.8784 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.315e-05/0.002366, allocations: 4 kB / 0.8784 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.905e-05/0.002405, allocations: 9 kB / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.002507, allocations: 15.86 kB / 0.8785 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.527e-05/0.002562, allocations: 15.98 kB / 0.8785 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.002689, allocations: 64.81 kB / 0.8785 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.002821, allocations: 31.91 kB / 0.8786 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.002912, allocations: 37.16 kB / 0.8786 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.002978, allocations: 27.89 kB / 0.8786 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.002998, allocations: 4 kB / 0.8786 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.003012, allocations: 8 kB / 0.8786 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.003035, allocations: 9.656 kB / 0.8786 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.003077, allocations: 23.92 kB / 0.8787 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.003219, allocations: 71.7 kB / 0.8787 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003222, allocations: 0 / 0.8787 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.02e-07/0.003222, allocations: 2.844 kB / 0.8787 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.003227, allocations: 3.938 kB / 0.8787 GB, free: 5.375 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.0005146/0.003742, allocations: 306 kB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.00378, allocations: 8.031 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.003835, allocations: 16.89 kB / 0.8791 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.004067, allocations: 133.7 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.004082, allocations: 4.375 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.004098, allocations: 9.094 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.00429, allocations: 95.89 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.0043, allocations: 1.844 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.004313, allocations: 4.359 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.004328, allocations: 384 / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.576e-05/0.004424, allocations: 39.92 kB / 0.8793 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.005015, allocations: 360.9 kB / 0.8797 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.572e-05/0.005091, allocations: 38.5 kB / 0.8797 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.184e-05/0.005132, allocations: 17.88 kB / 0.8797 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.00514, allocations: 5.594 kB / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.005178, allocations: 34.56 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.005179, allocations: 0 / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002082/0.005387, allocations: 53.81 kB / 0.8798 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.005459, allocations: 81.11 kB / 0.8799 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.005614, allocations: 132.8 kB / 0.88 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.005636, allocations: 25.7 kB / 0.88 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.005726, allocations: 107.9 kB / 0.8801 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.005738, allocations: 7.938 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.005776, allocations: 17.72 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.005957, allocations: 314.8 kB / 0.8805 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/0.005979, allocations: 11.94 kB / 0.8805 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.006012, allocations: 21.7 kB / 0.8805 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.00607, allocations: 29.72 kB / 0.8805 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006072, allocations: 0 / 0.8805 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001074/0.006179, allocations: 65.58 kB / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.006193, allocations: 4 kB / 0.8806 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.006198, allocations: 0 / 0.8806 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.006217, allocations: 0 / 0.8806 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.486e-05/0.006282, allocations: 8 kB / 0.8806 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.006289, allocations: 3.938 kB / 0.8806 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.006316, allocations: 3.938 kB / 0.8806 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.006322, allocations: 8.062 kB / 0.8806 GB, free: 3.238 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 9.944e-05/0.006422, allocations: 113.8 kB / 0.8807 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.006462, allocations: 3.953 kB / 0.8807 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.006487, allocations: 11.45 kB / 0.8807 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.006489, allocations: 0 / 0.8807 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.006493, allocations: 0 / 0.8807 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.006499, allocations: 3.938 kB / 0.8808 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004558/0.006954, allocations: 418.5 kB / 0.8811 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.006958, allocations: 4 kB / 0.8812 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.006981, allocations: 8.062 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.006982, allocations: 0 / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.006995, allocations: 7.938 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.006996, allocations: 0 / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.007, allocations: 4.031 kB / 0.8812 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.007119, allocations: 77.92 kB / 0.8812 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.573e-05/0.007145, allocations: 7.953 kB / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.007159, allocations: 3.938 kB / 0.8813 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.007181, allocations: 4 kB / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.007193, allocations: 0 / 0.8813 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.007195, allocations: 4.031 kB / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.055e-05/0.007286, allocations: 107.2 kB / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007286, allocations: 0 / 0.8814 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002027/0.007488, allocations: 8 kB / 0.8814 GB, free: 2.391 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.0001263/0.007615, allocations: 95.25 kB / 0.8815 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.85e-05/0.007693, allocations: 15.94 kB / 0.8815 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.007695, allocations: 3.938 kB / 0.8815 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.416e-05/0.007709, allocations: 8 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.007866, allocations: 8.25 kB / 0.8815 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.008245, allocations: 174.8 kB / 0.8817 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.601e-05/0.008331, allocations: 79.19 kB / 0.8817 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.892e-05/0.00836, allocations: 7.984 kB / 0.8818 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.978e-05/0.00839, allocations: 8.5 kB / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/0.00839, allocations: 0 / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of Templates: time 0.002824/0.01121, allocations: 361.6 kB / 0.8821 GB, free: 1.582 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 800] 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.26633643801324]