Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0008096/0.0008096, 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.0008773/0.0008773, allocations: 169.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.8873/0.8873, allocations: 177.1 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.705/1.705, 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.GreaterEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.658e-06/4.658e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.843e-05, allocations: 2.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001741/0.00177, allocations: 0.7096 MB / 0.9817 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008399/0.00261, allocations: 0.8587 MB / 0.9825 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.002649, allocations: 3.938 kB / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.002681, allocations: 0 / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/0.002764, allocations: 3.938 kB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.002922, allocations: 31.91 kB / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.885e-05/0.003001, allocations: 43.84 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.003114, allocations: 11.98 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.15e-05/0.003195, allocations: 31.97 kB / 0.9826 GB, free: 0.875 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.003248, allocations: 15.92 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.003273, allocations: 4 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-06/0.003283, allocations: 4 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.003303, allocations: 11.98 kB / 0.9827 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.00333, allocations: 19.91 kB / 0.9827 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.003566, allocations: 47.84 kB / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.00357, allocations: 0 / 0.9827 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.694e-06/0.003571, allocations: 4 kB / 0.9827 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003576, allocations: 0 / 0.9827 GB, free: 0.7695 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.0003849/0.003961, allocations: 274.3 kB / 0.983 GB, free: 484 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.004007, allocations: 16.02 kB / 0.983 GB, free: 468 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.004038, allocations: 34.75 kB / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.004062, allocations: 4.891 kB / 0.983 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.081e-05/0.004153, allocations: 109.7 kB / 0.9831 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.004168, allocations: 16.25 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.004178, allocations: 384 / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.004311, allocations: 73.97 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004317, allocations: 0 / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.004329, allocations: 4 kB / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.004333, allocations: 0 / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.004443, allocations: 51.94 kB / 0.9833 GB, free: 132 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.004771, allocations: 251.9 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.004899, allocations: 66.5 kB / 0.9836 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.004954, allocations: 28.89 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.004985, allocations: 3.938 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.005014, allocations: 42.55 kB / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.005015, allocations: 0 / 0.9837 GB, free: 15.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002885/0.005304, allocations: 101.8 kB / 0.9838 GB, free: 15.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.005334, allocations: 55.41 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.005394, allocations: 109.8 kB / 0.9839 GB, free: 15.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.005404, allocations: 29.7 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.005446, allocations: 96.16 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.431e-05/0.00546, allocations: 7.891 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.005491, allocations: 21.7 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.005571, allocations: 314.8 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.005622, allocations: 27.97 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.56e-05/0.005667, allocations: 23.97 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.293e-05/0.00576, allocations: 52.81 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.005762, allocations: 4 kB / 0.9845 GB, free: 14.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001481/0.00591, allocations: 89.53 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.005921, allocations: 4 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.005925, allocations: 0 / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.005935, allocations: 4 kB / 0.9846 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.833e-05/0.006014, allocations: 11.98 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.006018, allocations: 0 / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.006052, allocations: 7.984 kB / 0.9846 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.006056, allocations: 4 kB / 0.9846 GB, free: 14.67 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,intGreEquThr.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.752e-05/0.006114, allocations: 121.7 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.006126, allocations: 0 / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.861e-05/0.006145, allocations: 15.98 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006147, allocations: 0 / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.00615, allocations: 0 / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.006153, allocations: 0 / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.006265, allocations: 144.6 kB / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.006266, allocations: 0 / 0.9848 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.006301, allocations: 11.98 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.006302, allocations: 4 kB / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.006309, allocations: 0 / 0.9849 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.006313, allocations: 7.922 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006314, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.006635, allocations: 179.5 kB / 0.985 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.002e-05/0.006645, allocations: 7.938 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.006656, allocations: 4 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.47e-05/0.006701, allocations: 7.984 kB / 0.9851 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.006751, allocations: 11.98 kB / 0.9851 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.006755, allocations: 8 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.859e-05/0.006784, allocations: 91.52 kB / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.006784, allocations: 0 / 0.9852 GB, free: 14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001461/0.00693, allocations: 8 kB / 0.9852 GB, free: 13.99 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 (intGreEquThr.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.0003509/0.007281, allocations: 0.7162 MB / 0.9859 GB, free: 13.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.007424, allocations: 60.17 kB / 0.9859 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.007425, allocations: 0 / 0.9859 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.49e-05/0.00748, allocations: 35.91 kB / 0.986 GB, free: 13.15 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.007694, allocations: 11.14 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.0009302/0.008624, allocations: 1.327 MB / 0.9873 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.008664, allocations: 67.34 kB / 0.9873 GB, free: 11.65 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.008696, allocations: 8.234 kB / 0.9873 GB, free: 11.64 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.008739, allocations: 16.5 kB / 0.9874 GB, free: 11.62 MB / 0.948 GB Notification: Performance of SimCode: time 8.32e-07/0.008739, allocations: 0 / 0.9874 GB, free: 11.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.02352, allocations: 2.555 MB / 0.9899 GB, free: 9.215 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.708/6.731, allocations: 8.562 kB / 0.9899 GB, free: 9.207 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.731919500976801]