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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 109.9 kB / 16.41 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.844/2.844, allocations: 469.8 MB / 0.749 GB, free: 2.992 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001957/0.001957, allocations: 71.89 kB / 1.073 GB, free: 60 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8244/0.8263, allocations: 159.1 MB / 1.229 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002018/0.8284, allocations: 0.7069 MB / 1.229 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.8296, allocations: 0.8312 MB / 1.23 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.8296, allocations: 0 / 1.23 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.168e-05/0.8297, allocations: 7.922 kB / 1.23 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.895e-05/0.8298, allocations: 7.938 kB / 1.23 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.83, allocations: 27.91 kB / 1.23 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.8301, allocations: 43.91 kB / 1.23 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.8302, allocations: 16 kB / 1.23 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.285e-05/0.8303, allocations: 23.91 kB / 1.23 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.8304, allocations: 27.84 kB / 1.23 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.8304, allocations: 4 kB / 1.23 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.421e-05/0.8304, allocations: 8 kB / 1.23 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.8305, allocations: 11.98 kB / 1.23 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.8305, allocations: 19.88 kB / 1.23 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.8306, allocations: 45.67 kB / 1.23 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8306, allocations: 0 / 1.23 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8307, allocations: 0 / 1.23 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8307, allocations: 0 / 1.23 GB, free: 3.008 MB / 0.9356 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.0005948/0.8313, allocations: 363.3 kB / 1.231 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.8313, allocations: 8.031 kB / 1.231 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.8314, allocations: 34.75 kB / 1.231 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.911e-05/0.8314, allocations: 8.891 kB / 1.231 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.8316, allocations: 172.3 kB / 1.231 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.8316, allocations: 4.359 kB / 1.231 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.8316, allocations: 8.125 kB / 1.231 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.8319, allocations: 65.66 kB / 1.231 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.8319, allocations: 0 / 1.231 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.8319, allocations: 0 / 1.231 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.8319, allocations: 0 / 1.231 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.8321, allocations: 55.95 kB / 1.231 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.8326, allocations: 300.6 kB / 1.231 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.8328, allocations: 58.55 kB / 1.231 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.8329, allocations: 32.91 kB / 1.231 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.833, allocations: 4 kB / 1.231 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.833, allocations: 34.5 kB / 1.231 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.833, allocations: 3.938 kB / 1.231 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004328/0.8334, allocations: 109.7 kB / 1.232 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.8335, allocations: 51.41 kB / 1.232 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.8336, allocations: 113.8 kB / 1.232 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.8336, allocations: 29.7 kB / 1.232 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.107e-05/0.8337, allocations: 88.09 kB / 1.232 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.8337, allocations: 7.953 kB / 1.232 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.8338, allocations: 21.7 kB / 1.232 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.8339, allocations: 318.8 kB / 1.232 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.834, allocations: 23.97 kB / 1.232 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.842e-05/0.8341, allocations: 32 kB / 1.232 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.8343, allocations: 52.83 kB / 1.232 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8343, allocations: 3.938 kB / 1.232 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002501/0.8346, allocations: 89.59 kB / 1.232 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.8346, allocations: 4 kB / 1.232 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.8346, allocations: 0 / 1.232 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.8347, allocations: 0 / 1.232 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.8348, allocations: 15.98 kB / 1.232 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8348, allocations: 0 / 1.232 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.418e-05/0.8349, allocations: 7.984 kB / 1.232 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.8349, allocations: 7.938 kB / 1.232 GB, free: 0.6875 MB / 0.9356 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 0.0001063/0.835, allocations: 109.8 kB / 1.233 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.835, allocations: 7.984 kB / 1.233 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.8351, allocations: 3.906 kB / 1.233 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.8351, allocations: 0 / 1.233 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.8351, allocations: 0 / 1.233 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.8351, allocations: 4 kB / 1.233 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.8353, allocations: 185.5 kB / 1.233 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.8353, allocations: 0 / 1.233 GB, free: 320 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.11e-05/0.8354, allocations: 15.92 kB / 1.233 GB, free: 304 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8354, allocations: 0 / 1.233 GB, free: 304 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.8354, allocations: 0 / 1.233 GB, free: 304 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8354, allocations: 3.938 kB / 1.233 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.8355, allocations: 4 kB / 1.233 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/0.8358, allocations: 183.4 kB / 1.233 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.8359, allocations: 81.22 kB / 1.233 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.8359, allocations: 0 / 1.233 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.836, allocations: 7.984 kB / 1.233 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/0.8361, allocations: 11.98 kB / 1.233 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.8361, allocations: 4 kB / 1.233 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.021e-05/0.8362, allocations: 91.28 kB / 1.233 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8362, allocations: 0 / 1.233 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002217/0.8364, allocations: 19.88 kB / 1.233 GB, free: 15.86 MB / 0.9512 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.0006477/0.837, allocations: 0.7132 MB / 1.234 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.8373, allocations: 59.94 kB / 1.234 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8373, allocations: 0 / 1.234 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.8375, allocations: 35.91 kB / 1.234 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.8378, allocations: 7.984 kB / 1.234 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.8394, allocations: 1.315 MB / 1.235 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.8398, allocations: 0.6885 MB / 1.236 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.191e-05/0.8398, allocations: 4 kB / 1.236 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.8399, allocations: 15.44 kB / 1.236 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.8399, allocations: 0 / 1.236 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.8629, allocations: 1.857 MB / 1.238 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.939, allocations: 10 kB / 1.238 GB, free: 11.16 MB / 0.9512 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.12685590912588]