Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.00184/0.00184, allocations: 92.7 kB / 19.44 MB, free: 324 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.002368/0.002368, allocations: 161.7 kB / 22.75 MB, free: 1.656 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.532/1.532, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.245/3.245, allocations: 429.6 MB / 0.673 GB, free: 3.875 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.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.459e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.002013/0.002048, allocations: 0.7045 MB / 0.8783 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.003358, allocations: 0.8518 MB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.416e-05/0.003403, allocations: 0.9688 kB / 0.8791 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.003433, allocations: 3.938 kB / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.361e-05/0.003517, allocations: 13.25 kB / 0.8791 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.003691, allocations: 25.83 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.369e-05/0.003784, allocations: 39.92 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.003885, allocations: 19.92 kB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.518e-05/0.003981, allocations: 23.92 kB / 0.8792 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.106e-05/0.004052, allocations: 27.95 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.004074, allocations: 5.344 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.004086, allocations: 4 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.004103, allocations: 4 kB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.004143, allocations: 15.92 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.00426, allocations: 48.84 kB / 0.8793 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004262, allocations: 0 / 0.8793 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004263, allocations: 4.656 kB / 0.8794 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.004266, allocations: 3.938 kB / 0.8794 GB, free: 4.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005545/0.004821, allocations: 278 kB / 0.8796 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.004862, allocations: 8.031 kB / 0.8796 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.00492, allocations: 8.891 kB / 0.8796 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.005078, allocations: 113.7 kB / 0.8797 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.005098, allocations: 4.375 kB / 0.8797 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.00511, allocations: 384 / 0.8797 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.005346, allocations: 74.14 kB / 0.8798 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.005357, allocations: 3.938 kB / 0.8798 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.005369, allocations: 1.875 kB / 0.8798 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.005376, allocations: 3.984 kB / 0.8798 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002447/0.00562, allocations: 55.94 kB / 0.8799 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.006074, allocations: 222.1 kB / 0.8801 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.006309, allocations: 70.41 kB / 0.8802 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.006434, allocations: 40.14 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.006454, allocations: 0 / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.006495, allocations: 30.56 kB / 0.8802 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.006496, allocations: 4 kB / 0.8802 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0004797/0.006976, allocations: 111.7 kB / 0.8803 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.019e-05/0.007036, allocations: 55.34 kB / 0.8804 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.007153, allocations: 109.8 kB / 0.8805 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.007174, allocations: 25.7 kB / 0.8805 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.007244, allocations: 88.14 kB / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.007263, allocations: 3.953 kB / 0.8806 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.007315, allocations: 22.42 kB / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.007509, allocations: 318.8 kB / 0.8809 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.007641, allocations: 25.62 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.703e-05/0.007738, allocations: 19.98 kB / 0.881 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.00798, allocations: 58 kB / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.007985, allocations: 3.938 kB / 0.881 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002741/0.008259, allocations: 89.59 kB / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.008275, allocations: 7.938 kB / 0.8811 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.00828, allocations: 0 / 0.8811 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.008302, allocations: 7.938 kB / 0.8811 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.008445, allocations: 15.98 kB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.008452, allocations: 0 / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.008531, allocations: 11.92 kB / 0.8812 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.008538, allocations: 0 / 0.8812 GB, free: 2.672 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,abs1.y) * 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.0001092/0.008648, allocations: 117.8 kB / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.008686, allocations: 11.95 kB / 0.8813 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.008708, allocations: 4 kB / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.00871, allocations: 336 / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.008715, allocations: 0 / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.008719, allocations: 256 / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.008896, allocations: 121.3 kB / 0.8814 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.008903, allocations: 11.94 kB / 0.8814 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-05/0.008998, allocations: 11.98 kB / 0.8814 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.009001, allocations: 0 / 0.8814 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.00901, allocations: 4 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009011, allocations: 0 / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.009013, allocations: 0 / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.009392, allocations: 183.4 kB / 0.8816 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.009413, allocations: 15.89 kB / 0.8816 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.009429, allocations: 0 / 0.8816 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.009532, allocations: 7.984 kB / 0.8816 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.009601, allocations: 11.98 kB / 0.8816 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.009606, allocations: 0 / 0.8816 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.406e-05/0.00967, allocations: 87.27 kB / 0.8817 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.00967, allocations: 0 / 0.8817 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002281/0.009898, allocations: 12 kB / 0.8817 GB, free: 2.027 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001384/0.01004, allocations: 93.88 kB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000288/0.01032, allocations: 59.89 kB / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01033, allocations: 0 / 0.8819 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.01045, allocations: 35.97 kB / 0.8819 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.01077, allocations: 12 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.01119, allocations: 128.7 kB / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.128e-05/0.01128, allocations: 67.2 kB / 0.8821 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.734e-05/0.01133, allocations: 11.92 kB / 0.8821 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.01139, allocations: 16.5 kB / 0.8821 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of SimCode: time 7.32e-07/0.01139, allocations: 0 / 0.8821 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of Templates: time 0.004097/0.01549, allocations: 0.9756 MB / 0.8831 GB, free: 0.5977 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.278819632017985]