Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.0008387/0.0008387, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008582/0.0008582, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 0.9012/0.9012, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.772/1.772, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.547e-06/3.547e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.728e-05, allocations: 2.281 kB / 0.981 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001504/0.001531, allocations: 0.7666 MB / 0.9817 GB, free: 1.824 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008525/0.002383, allocations: 0.8743 MB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.002428, allocations: 0 / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.423e-05/0.002462, allocations: 11.86 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.494e-05/0.002547, allocations: 19.86 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.002723, allocations: 39.89 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.629e-05/0.002819, allocations: 87.75 kB / 0.9827 GB, free: 0.7812 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.002929, allocations: 19.98 kB / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.676e-05/0.003016, allocations: 47.89 kB / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.003079, allocations: 31.95 kB / 0.9828 GB, free: 0.6836 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.003106, allocations: 8 kB / 0.9828 GB, free: 0.6758 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.003117, allocations: 8 kB / 0.9828 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.003141, allocations: 27.91 kB / 0.9829 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.003169, allocations: 23.92 kB / 0.9829 GB, free: 0.6172 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.003287, allocations: 103.6 kB / 0.983 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003288, allocations: 0 / 0.983 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003289, allocations: 0 / 0.983 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.003293, allocations: 0 / 0.983 GB, free: 0.5156 MB / 0.9323 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.0004256/0.003719, allocations: 326 kB / 0.9833 GB, free: 172 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.003757, allocations: 8.031 kB / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.003789, allocations: 34.75 kB / 0.9833 GB, free: 120 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.423e-05/0.003813, allocations: 12.89 kB / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.003931, allocations: 117.7 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.00395, allocations: 4.375 kB / 0.9835 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.003966, allocations: 16.31 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.004172, allocations: 105.9 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.004179, allocations: 0 / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.00419, allocations: 7.938 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.004194, allocations: 0 / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.004418, allocations: 99.91 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.00485, allocations: 299.7 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.005205, allocations: 122.5 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.005309, allocations: 48.81 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.005325, allocations: 0 / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.005341, allocations: 38.56 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.005342, allocations: 4 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0003731/0.005715, allocations: 181.4 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.005744, allocations: 51.41 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.005813, allocations: 121.8 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.005824, allocations: 25.7 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.005868, allocations: 96.08 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.005888, allocations: 27.8 kB / 0.9847 GB, free: 14.63 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.005924, allocations: 25.7 kB / 0.9847 GB, free: 14.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.904e-05/0.006003, allocations: 318.8 kB / 0.985 GB, free: 14.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.006097, allocations: 47.94 kB / 0.985 GB, free: 14.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.205e-05/0.00619, allocations: 43.95 kB / 0.9851 GB, free: 14.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.006365, allocations: 97.19 kB / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.006367, allocations: 0 / 0.9852 GB, free: 14.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002837/0.006651, allocations: 141.5 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.006676, allocations: 6.969 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.006684, allocations: 0 / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.0067, allocations: 0 / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.00686, allocations: 27.97 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.006867, allocations: 0 / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.769e-05/0.006935, allocations: 11.98 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.006947, allocations: 19.86 kB / 0.9854 GB, free: 13.89 MB / 0.948 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,intLesEqu.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 8.804e-05/0.007035, allocations: 117.8 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.007062, allocations: 7.953 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.007087, allocations: 8.438 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.00709, allocations: 0 / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.007101, allocations: 4 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.007104, allocations: 0 / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.007256, allocations: 164.6 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.007257, allocations: 0 / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/0.00734, allocations: 23.97 kB / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.007343, allocations: 0 / 0.9857 GB, free: 13.52 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.007353, allocations: 8 kB / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.007355, allocations: 0 / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.007356, allocations: 4 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.007657, allocations: 239.3 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.00768, allocations: 7.891 kB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.007695, allocations: 7.938 kB / 0.9859 GB, free: 13.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.007795, allocations: 11.97 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.007861, allocations: 23.92 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.007868, allocations: 3.984 kB / 0.986 GB, free: 13.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.007914, allocations: 99.27 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.007914, allocations: 0 / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001682/0.008082, allocations: 19.94 kB / 0.9861 GB, free: 13.08 MB / 0.948 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 (intLesEqu.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.0005169/0.008599, allocations: 0.7632 MB / 0.9868 GB, free: 12.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002742/0.008873, allocations: 103.8 kB / 0.9869 GB, free: 12.19 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.008876, allocations: 0 / 0.9869 GB, free: 12.19 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.008988, allocations: 63.94 kB / 0.987 GB, free: 12.13 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.009286, allocations: 8 kB / 0.987 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.0107, allocations: 1.542 MB / 0.9885 GB, free: 10.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.533e-05/0.01076, allocations: 75.33 kB / 0.9886 GB, free: 10.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.558e-05/0.01082, allocations: 19.73 kB / 0.9886 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.01089, allocations: 32.42 kB / 0.9886 GB, free: 10.35 MB / 0.948 GB Notification: Performance of SimCode: time 1.142e-06/0.01089, allocations: 0 / 0.9886 GB, free: 10.35 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.02737, allocations: 3.493 MB / 0.992 GB, free: 7.012 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.658/6.685, allocations: 12.67 kB / 0.992 GB, free: 7.004 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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: 10.801466032862663]