Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.001745/0.001745, allocations: 77.33 kB / 19.18 MB, free: 2.512 MB / 14.72 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.002212/0.002212, allocations: 161.2 kB / 22.46 MB, free: 5.391 MB / 14.72 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.561/1.561, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.969/2.969, allocations: 377.8 MB / 0.6221 GB, free: 12.64 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5e-06/5e-06, allocations: 4 kB / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.862e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002164/0.002203, allocations: 0.7525 MB / 0.9822 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.003694, allocations: 0.8821 MB / 0.983 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.003756, allocations: 0 / 0.983 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.204e-05/0.003798, allocations: 3.938 kB / 0.983 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.195e-05/0.00389, allocations: 19.81 kB / 0.9831 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.0041, allocations: 43.88 kB / 0.9831 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001513/0.004251, allocations: 83.81 kB / 0.9832 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.004381, allocations: 19.98 kB / 0.9832 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.004511, allocations: 47.89 kB / 0.9833 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.391e-05/0.004605, allocations: 39.83 kB / 0.9833 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.004641, allocations: 8 kB / 0.9833 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.883e-05/0.00466, allocations: 8 kB / 0.9833 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.004701, allocations: 31.89 kB / 0.9833 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.004748, allocations: 23.92 kB / 0.9834 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.004943, allocations: 99.64 kB / 0.9835 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.004945, allocations: 0 / 0.9835 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.12e-07/0.004946, allocations: 0 / 0.9835 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.004954, allocations: 0 / 0.9835 GB, free: 8.855 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000706/0.00566, allocations: 326 kB / 0.9838 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.005702, allocations: 8.031 kB / 0.9838 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.00575, allocations: 12.88 kB / 0.9838 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.005911, allocations: 121.7 kB / 0.9839 GB, free: 8.344 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.005931, allocations: 4.375 kB / 0.9839 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.005953, allocations: 8.375 kB / 0.9839 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.006301, allocations: 106.1 kB / 0.984 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.006312, allocations: 3.938 kB / 0.984 GB, free: 8.219 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.00633, allocations: 4 kB / 0.984 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.006339, allocations: 4 kB / 0.984 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.006729, allocations: 95.89 kB / 0.9841 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.007288, allocations: 276.4 kB / 0.9844 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.007967, allocations: 114.5 kB / 0.9845 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.008184, allocations: 52.81 kB / 0.9845 GB, free: 7.641 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.008215, allocations: 4 kB / 0.9845 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.008259, allocations: 30.56 kB / 0.9846 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.00826, allocations: 4 kB / 0.9846 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7): time 0.0007745/0.009035, allocations: 181.4 kB / 0.9848 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.009084, allocations: 59.34 kB / 0.9848 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.009219, allocations: 121.8 kB / 0.9849 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.009241, allocations: 25.7 kB / 0.9849 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.00932, allocations: 104 kB / 0.985 GB, free: 7.074 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.009361, allocations: 23.84 kB / 0.9851 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.009419, allocations: 25.7 kB / 0.9851 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.009572, allocations: 322.8 kB / 0.9854 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.009773, allocations: 47.95 kB / 0.9854 GB, free: 6.648 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.009959, allocations: 43.95 kB / 0.9855 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.01034, allocations: 92.78 kB / 0.9856 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01034, allocations: 0 / 0.9856 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004491/0.01079, allocations: 137.5 kB / 0.9857 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.01081, allocations: 10.19 kB / 0.9857 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01082, allocations: 0 / 0.9857 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.01083, allocations: 0 / 0.9857 GB, free: 6.363 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.01101, allocations: 31.91 kB / 0.9858 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01102, allocations: 0 / 0.9858 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.01115, allocations: 15.92 kB / 0.9858 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.01116, allocations: 3.984 kB / 0.9858 GB, free: 6.312 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001005/0.01126, allocations: 117.8 kB / 0.9859 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.01129, allocations: 7.953 kB / 0.9859 GB, free: 6.18 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.01132, allocations: 8.438 kB / 0.9859 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01132, allocations: 4 kB / 0.9859 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.01133, allocations: 0 / 0.9859 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.01133, allocations: 4 kB / 0.9859 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.01152, allocations: 137.2 kB / 0.986 GB, free: 6 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.01152, allocations: 0 / 0.986 GB, free: 6 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.01169, allocations: 31.91 kB / 0.9861 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01169, allocations: 0 / 0.9861 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.01171, allocations: 7.922 kB / 0.9861 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01171, allocations: 0 / 0.9861 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01171, allocations: 0 / 0.9861 GB, free: 5.961 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.01222, allocations: 239.3 kB / 0.9863 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.01224, allocations: 3.953 kB / 0.9863 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.01226, allocations: 4 kB / 0.9863 GB, free: 5.703 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.01242, allocations: 11.98 kB / 0.9863 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.01253, allocations: 23.97 kB / 0.9863 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.01255, allocations: 11.98 kB / 0.9864 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 6.08e-05/0.01261, allocations: 91.27 kB / 0.9864 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.01261, allocations: 3.938 kB / 0.9864 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002414/0.01285, allocations: 16 kB / 0.9865 GB, free: 5.547 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intGre.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001317/0.01298, allocations: 99.78 kB / 0.9866 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.01343, allocations: 96.53 kB / 0.9866 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01344, allocations: 0 / 0.9866 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.01367, allocations: 75.86 kB / 0.9867 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.01399, allocations: 8.25 kB / 0.9867 GB, free: 5.266 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.01445, allocations: 181.4 kB / 0.9869 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.123e-05/0.01453, allocations: 79.31 kB / 0.987 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 6.249e-05/0.01459, allocations: 8 kB / 0.987 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/0.01467, allocations: 20.48 kB / 0.987 GB, free: 4.934 MB / 0.8887 GB Notification: Performance of SimCode: time 3.11e-07/0.01467, allocations: 0 / 0.987 GB, free: 4.934 MB / 0.8887 GB Notification: Performance of Templates: time 0.005/0.01967, allocations: 1.702 MB / 0.9887 GB, free: 3.258 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.418604250997305]