Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.0008926/0.0008926, 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.0009933/0.0009933, 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.8891/0.8891, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.766/1.766, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.276e-06/3.276e-06, allocations: 3.984 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/2.011e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001293/0.001313, allocations: 0.6824 MB / 1 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007108/0.002024, allocations: 0.8471 MB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.002059, allocations: 11.94 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.002085, allocations: 3.938 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.26e-05/0.002147, allocations: 3.938 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.002311, allocations: 23.91 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.336e-05/0.002384, allocations: 55.83 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.989e-05/0.002474, allocations: 8 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.581e-05/0.00254, allocations: 27.86 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.002587, allocations: 23.95 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.002607, allocations: 4 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.002615, allocations: 4 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.002629, allocations: 11.94 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.002651, allocations: 15.98 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.306e-05/0.002734, allocations: 55.78 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.002736, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.083e-06/0.002737, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.002741, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 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.0003448/0.003086, allocations: 274.3 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.003122, allocations: 8.75 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.003152, allocations: 38.75 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.96e-05/0.003172, allocations: 4.891 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.637e-05/0.003258, allocations: 117.7 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.00327, allocations: 4.375 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.003278, allocations: 4.375 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.003403, allocations: 73.91 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.00341, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.003418, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.003422, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.003528, allocations: 51.94 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.00383, allocations: 260.6 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.003952, allocations: 70.5 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.004006, allocations: 24.89 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.004019, allocations: 3.938 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.004035, allocations: 34.56 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.004036, allocations: 4 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002349/0.004271, allocations: 113.6 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.004297, allocations: 59.34 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.004352, allocations: 109.8 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.004361, allocations: 25.7 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.004397, allocations: 88.14 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.004411, allocations: 7.906 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.004438, allocations: 21.7 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.119e-05/0.004509, allocations: 318.8 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.963e-05/0.004558, allocations: 27.97 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.61e-05/0.004604, allocations: 23.98 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.349e-05/0.004698, allocations: 48.81 kB / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.0047, allocations: 0 / 1.003 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.004821, allocations: 89.58 kB / 1.003 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.004832, allocations: 7.938 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.004836, allocations: 0 / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.004846, allocations: 4 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.004912, allocations: 15.98 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.004916, allocations: 0 / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.004948, allocations: 8.312 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.004953, allocations: 0 / 1.003 GB, free: 9.605 MB / 0.9636 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,intLesThr.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.342e-05/0.005006, allocations: 117.8 kB / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.00502, allocations: 7.938 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.721e-05/0.005037, allocations: 11.98 kB / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.005039, allocations: 0 / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.005042, allocations: 0 / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.005045, allocations: 0 / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.005147, allocations: 148.6 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005148, allocations: 0 / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.00518, allocations: 11.98 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.005181, allocations: 0 / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.005186, allocations: 3.938 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.005187, allocations: 0 / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005188, allocations: 0 / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.005331, allocations: 187.4 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.005339, allocations: 11.94 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.005348, allocations: 0 / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.653e-05/0.005395, allocations: 15.98 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.005438, allocations: 11.98 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.00544, allocations: 0 / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.656e-05/0.005467, allocations: 79.36 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005467, allocations: 0 / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001396/0.005606, allocations: 12 kB / 1.004 GB, free: 8.922 MB / 0.9636 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 (intLesThr.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.0003019/0.005908, allocations: 0.7202 MB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.006041, allocations: 47.95 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.006042, allocations: 0 / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.583e-05/0.006098, allocations: 35.97 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.006287, allocations: 6.219 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000899/0.007186, allocations: 1.338 MB / 1.006 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.15e-05/0.007228, allocations: 67.34 kB / 1.006 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.00726, allocations: 7.984 kB / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.007303, allocations: 20.5 kB / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.007304, allocations: 0 / 1.006 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.02175, allocations: 2.56 MB / 1.009 GB, free: 4.137 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.535/6.556, allocations: 10 kB / 1.009 GB, free: 4.133 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.5658627031371]