Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007984/0.0007984, 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.000851/0.000851, allocations: 170.3 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.9138/0.9138, 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 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.671/1.671, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.175e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001412/0.001434, allocations: 0.6971 MB / 0.9512 GB, free: 2.77 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.00224, allocations: 0.8548 MB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.669e-05/0.002276, allocations: 0 / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.002302, allocations: 7.938 kB / 0.952 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.002372, allocations: 11.91 kB / 0.952 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.002509, allocations: 19.92 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.002589, allocations: 51.84 kB / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.002698, allocations: 8 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004423/0.00314, allocations: 23.97 kB / 0.9521 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.003217, allocations: 23.91 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.003247, allocations: 4 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.003258, allocations: 4 kB / 0.9522 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.003282, allocations: 15.97 kB / 0.9522 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.003312, allocations: 15.94 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.00344, allocations: 55.78 kB / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.003444, allocations: 0 / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.763e-06/0.003445, allocations: 3.938 kB / 0.9523 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.003451, allocations: 0 / 0.9523 GB, free: 1.66 MB / 0.9011 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.0004521/0.003903, allocations: 282.2 kB / 0.9525 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.003947, allocations: 8.031 kB / 0.9525 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.003977, allocations: 30.75 kB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.004003, allocations: 8.891 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.536e-05/0.004098, allocations: 109.8 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.004113, allocations: 8.375 kB / 0.9527 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.004124, allocations: 4.375 kB / 0.9527 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.004266, allocations: 69.97 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.004273, allocations: 0 / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.004283, allocations: 3.938 kB / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.004287, allocations: 0 / 0.9528 GB, free: 1.078 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.004403, allocations: 55.89 kB / 0.9528 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.00477, allocations: 259.8 kB / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.004906, allocations: 62.55 kB / 0.9531 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.004966, allocations: 32.91 kB / 0.9532 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.004983, allocations: 0 / 0.9532 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.005003, allocations: 34.5 kB / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.005004, allocations: 0 / 0.9532 GB, free: 0.5781 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0002705/0.005275, allocations: 105.6 kB / 0.9533 GB, free: 480 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.005305, allocations: 55.41 kB / 0.9533 GB, free: 412 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.701e-05/0.005372, allocations: 109.8 kB / 0.9534 GB, free: 292 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.005383, allocations: 25.7 kB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.005428, allocations: 92.08 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.005447, allocations: 11.95 kB / 0.9536 GB, free: 152 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.005476, allocations: 13.72 kB / 0.9536 GB, free: 132 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.00557, allocations: 322.8 kB / 0.9539 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.005635, allocations: 19.98 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.02e-05/0.005685, allocations: 27.91 kB / 0.9539 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.00579, allocations: 56.81 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005792, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000141/0.005932, allocations: 89.92 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.005947, allocations: 6.656 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.005952, allocations: 3.984 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.005965, allocations: 0 / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.751e-05/0.006052, allocations: 11.98 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006057, allocations: 4 kB / 0.9541 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.006092, allocations: 7.984 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.006098, allocations: 8 kB / 0.9541 GB, free: 15.57 MB / 0.9167 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 6.44e-05/0.006163, allocations: 117.7 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.006176, allocations: 4 kB / 0.9542 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.006199, allocations: 11.94 kB / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006201, allocations: 0 / 0.9542 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.006206, allocations: 7.938 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006209, allocations: 0 / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.006326, allocations: 140.6 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.006327, allocations: 4 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.006366, allocations: 15.98 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006368, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.006375, allocations: 4 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006376, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006377, allocations: 0 / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/0.006546, allocations: 183.9 kB / 0.9546 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.073e-05/0.006556, allocations: 8 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.006567, allocations: 4 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.006615, allocations: 7.984 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.006664, allocations: 11.98 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.006667, allocations: 0 / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.295e-05/0.0067, allocations: 91.58 kB / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.0067, allocations: 0 / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001495/0.00685, allocations: 7.953 kB / 0.9547 GB, free: 14.88 MB / 0.9167 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.0003581/0.007208, allocations: 0.7085 MB / 0.9554 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001569/0.007365, allocations: 63.88 kB / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007366, allocations: 0 / 0.9555 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.914e-05/0.007426, allocations: 31.97 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.00768, allocations: 8.172 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.008774, allocations: 1.331 MB / 0.9568 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.008824, allocations: 71.28 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.656e-05/0.008861, allocations: 4.047 kB / 0.9569 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.008913, allocations: 20.47 kB / 0.9569 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.008914, allocations: 8 kB / 0.9569 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.02466, allocations: 2.555 MB / 0.9594 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.827/6.852, allocations: 3.625 kB / 0.9594 GB, free: 10.11 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.85559005010873]