Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.0009608/0.0009608, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009205/0.0009205, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9195/0.9195, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.745/1.745, allocations: 377.9 MB / 0.6221 GB, free: 8.641 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.LessEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.804e-05, allocations: 4.812 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001239/0.001257, allocations: 0.7057 MB / 0.9817 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0007809/0.002038, allocations: 0.8626 MB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.002073, allocations: 0 / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.0021, allocations: 3.938 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.604e-05/0.002166, allocations: 3.938 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.002305, allocations: 23.97 kB / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.926e-05/0.002374, allocations: 47.84 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.364e-05/0.002468, allocations: 4 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.002542, allocations: 31.95 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.854e-05/0.00259, allocations: 19.92 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.002614, allocations: 4 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/0.002622, allocations: 8 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.002639, allocations: 15.92 kB / 0.9827 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.002662, allocations: 15.92 kB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.87e-05/0.002751, allocations: 51.84 kB / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002753, allocations: 0 / 0.9827 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.265e-06/0.002755, allocations: 3.984 kB / 0.9827 GB, free: 0.7539 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.002759, allocations: 0 / 0.9827 GB, free: 0.7539 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000357/0.003116, allocations: 270.3 kB / 0.983 GB, free: 472 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.003151, allocations: 11.97 kB / 0.983 GB, free: 460 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.003181, allocations: 42.73 kB / 0.983 GB, free: 408 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.003202, allocations: 8.891 kB / 0.983 GB, free: 400 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.441e-05/0.003287, allocations: 109.7 kB / 0.9831 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.003301, allocations: 8.375 kB / 0.9832 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.003309, allocations: 384 / 0.9832 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.003438, allocations: 77.91 kB / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003445, allocations: 0 / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.003454, allocations: 0 / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.003458, allocations: 0 / 0.9832 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.003567, allocations: 55.88 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.003885, allocations: 252 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.00401, allocations: 78.47 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.004064, allocations: 28.89 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.004078, allocations: 0 / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.004094, allocations: 34.55 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.004095, allocations: 0 / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002416/0.004337, allocations: 105.6 kB / 0.9838 GB, free: 15.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.004365, allocations: 55.41 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.503e-05/0.00442, allocations: 109.8 kB / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.00443, allocations: 29.64 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.551e-05/0.004466, allocations: 92.09 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.00448, allocations: 7.891 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.004509, allocations: 21.7 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.662e-05/0.004576, allocations: 314.8 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.00463, allocations: 27.97 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.506e-05/0.004675, allocations: 23.98 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.636e-05/0.004771, allocations: 52.81 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.004773, allocations: 0 / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001237/0.004896, allocations: 85.59 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.004906, allocations: 4 kB / 0.9845 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004911, allocations: 0 / 0.9845 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.004922, allocations: 4 kB / 0.9845 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.852e-05/0.004991, allocations: 19.86 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.004994, allocations: 4 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.101e-05/0.005025, allocations: 7.984 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.005031, allocations: 4 kB / 0.9846 GB, free: 14.65 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: 2 (reaToInt.y,intLesEquThr.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 5.767e-05/0.005088, allocations: 113.8 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.005101, allocations: 0 / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.005118, allocations: 12 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.00512, allocations: 3.984 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.005124, allocations: 0 / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.005126, allocations: 4 kB / 0.9847 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.005231, allocations: 144.6 kB / 0.9848 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005232, allocations: 0 / 0.9848 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.005266, allocations: 11.98 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.005267, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.005273, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005274, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005275, allocations: 320 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.005423, allocations: 187.7 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.005433, allocations: 15.97 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.005444, allocations: 7.938 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.372e-05/0.005488, allocations: 4 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.005533, allocations: 15.97 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.005537, allocations: 4 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.005566, allocations: 87.27 kB / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.005566, allocations: 0 / 0.9852 GB, free: 13.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001482/0.005714, allocations: 8 kB / 0.9852 GB, free: 13.98 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: 2 (intLesEquThr.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.0003102/0.006025, allocations: 0.7241 MB / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.006163, allocations: 47.95 kB / 0.9859 GB, free: 13.18 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.006164, allocations: 0 / 0.9859 GB, free: 13.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.513e-05/0.006219, allocations: 31.97 kB / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.006411, allocations: 4 kB / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.007417, allocations: 1.341 MB / 0.9873 GB, free: 11.72 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.998e-05/0.007457, allocations: 63.34 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.189e-05/0.007489, allocations: 12.23 kB / 0.9873 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.007536, allocations: 20.5 kB / 0.9874 GB, free: 11.61 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.007536, allocations: 0 / 0.9874 GB, free: 11.61 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.02095, allocations: 2.55 MB / 0.9899 GB, free: 9.203 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.694/6.715, allocations: 4.016 kB / 0.9899 GB, free: 9.203 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.750454811379313]