Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001813/0.001813, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.002286/0.002286, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.527/1.527, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.88 kB / 1.134 GB, free: 13.11 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.129, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002999/1.132, allocations: 0.7176 MB / 1.305 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001385/1.134, allocations: 0.8403 MB / 1.305 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/1.134, allocations: 0 / 1.305 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.981e-05/1.134, allocations: 3.938 kB / 1.305 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/1.134, allocations: 10.78 kB / 1.306 GB, free: 31.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/1.134, allocations: 25.69 kB / 1.306 GB, free: 31.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/1.134, allocations: 43.41 kB / 1.306 GB, free: 31.01 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/1.134, allocations: 14.95 kB / 1.306 GB, free: 31 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/1.134, allocations: 20.42 kB / 1.306 GB, free: 30.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.84e-05/1.134, allocations: 23.55 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/1.134, allocations: 2.875 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/1.134, allocations: 5.5 kB / 1.306 GB, free: 30.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/1.134, allocations: 11.27 kB / 1.306 GB, free: 30.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.781e-05/1.134, allocations: 20.83 kB / 1.306 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/1.135, allocations: 54.02 kB / 1.306 GB, free: 30.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.135, allocations: 0 / 1.306 GB, free: 30.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.144e-06/1.135, allocations: 0 / 1.306 GB, free: 30.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.302e-05/1.135, allocations: 0 / 1.306 GB, free: 30.93 MB / 1.061 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.0005746/1.135, allocations: 352.8 kB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.135, allocations: 10.38 kB / 1.306 GB, free: 30.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/1.135, allocations: 34.75 kB / 1.306 GB, free: 30.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/1.135, allocations: 11.39 kB / 1.306 GB, free: 30.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/1.135, allocations: 170.2 kB / 1.306 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/1.135, allocations: 7.188 kB / 1.306 GB, free: 30.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/1.136, allocations: 10.84 kB / 1.306 GB, free: 30.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/1.136, allocations: 68 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/1.136, allocations: 0 / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/1.136, allocations: 0 / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/1.136, allocations: 2.781 kB / 1.306 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/1.136, allocations: 47.23 kB / 1.306 GB, free: 30.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/1.136, allocations: 293.4 kB / 1.307 GB, free: 29.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/1.137, allocations: 60.44 kB / 1.307 GB, free: 29.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/1.137, allocations: 30.36 kB / 1.307 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/1.137, allocations: 3.984 kB / 1.307 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/1.137, allocations: 45.16 kB / 1.307 GB, free: 29.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/1.137, allocations: 0 / 1.307 GB, free: 29.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0005087/1.137, allocations: 109.2 kB / 1.307 GB, free: 29.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/1.137, allocations: 51.41 kB / 1.307 GB, free: 29.75 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/1.138, allocations: 105.8 kB / 1.307 GB, free: 29.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/1.138, allocations: 32.23 kB / 1.307 GB, free: 29.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/1.138, allocations: 87.5 kB / 1.307 GB, free: 29.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/1.138, allocations: 18.47 kB / 1.307 GB, free: 29.51 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/1.138, allocations: 18.06 kB / 1.307 GB, free: 29.49 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/1.138, allocations: 318.8 kB / 1.308 GB, free: 29.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/1.138, allocations: 24.23 kB / 1.308 GB, free: 29.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/1.138, allocations: 21.84 kB / 1.308 GB, free: 29.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/1.138, allocations: 56.59 kB / 1.308 GB, free: 29.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.138, allocations: 0 / 1.308 GB, free: 29.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003308/1.139, allocations: 91.2 kB / 1.308 GB, free: 29.09 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.139, allocations: 5.469 kB / 1.308 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.139, allocations: 0 / 1.308 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/1.139, allocations: 0 / 1.308 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/1.139, allocations: 11.7 kB / 1.308 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.139, allocations: 0 / 1.308 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.615e-05/1.139, allocations: 12.81 kB / 1.308 GB, free: 29.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/1.139, allocations: 3.938 kB / 1.308 GB, free: 29.09 MB / 1.061 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.0001081/1.139, allocations: 116.6 kB / 1.308 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/1.139, allocations: 6.578 kB / 1.308 GB, free: 28.96 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/1.139, allocations: 11.23 kB / 1.308 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.139, allocations: 6.406 kB / 1.308 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/1.139, allocations: 0 / 1.308 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.139, allocations: 0 / 1.308 GB, free: 28.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/1.139, allocations: 179.1 kB / 1.308 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.139, allocations: 4 kB / 1.308 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/1.139, allocations: 11.62 kB / 1.308 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/1.139, allocations: 0 / 1.308 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/1.139, allocations: 3.75 kB / 1.308 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.139, allocations: 0 / 1.308 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.139, allocations: 0 / 1.308 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/1.14, allocations: 181.7 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/1.14, allocations: 87.69 kB / 1.308 GB, free: 28.49 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/1.14, allocations: 3.469 kB / 1.308 GB, free: 28.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/1.14, allocations: 9.094 kB / 1.308 GB, free: 28.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.14, allocations: 14.08 kB / 1.308 GB, free: 28.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/1.14, allocations: 2.531 kB / 1.308 GB, free: 28.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.37e-05/1.14, allocations: 88.25 kB / 1.308 GB, free: 28.4 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.14, allocations: 7.875 kB / 1.308 GB, free: 28.39 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003729/1.141, allocations: 11.56 kB / 1.308 GB, free: 28.39 MB / 1.061 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.0007198/1.141, allocations: 0.7172 MB / 1.309 GB, free: 27.71 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003501/1.142, allocations: 55.83 kB / 1.309 GB, free: 27.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.142, allocations: 4 kB / 1.309 GB, free: 27.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/1.142, allocations: 32.31 kB / 1.309 GB, free: 27.69 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/1.142, allocations: 6.781 kB / 1.309 GB, free: 27.69 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/1.145, allocations: 1.324 MB / 1.311 GB, free: 26.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/1.145, allocations: 0.6885 MB / 1.311 GB, free: 25.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.595e-05/1.145, allocations: 6.344 kB / 1.311 GB, free: 25.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/1.145, allocations: 18.12 kB / 1.311 GB, free: 25.76 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/1.145, allocations: 2.781 kB / 1.311 GB, free: 25.76 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/1.173, allocations: 1.865 MB / 1.313 GB, free: 25.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/9.417, allocations: 6.344 kB / 1.313 GB, free: 25.39 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.254091104958206]