Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.001814/0.001814, allocations: 113.9 kB / 18.94 MB, free: 2.789 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.002211/0.002211, allocations: 190.2 kB / 22.23 MB, free: 5.227 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.601/1.601, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.584/3.584, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 68.39 kB / 1.145 GB, free: 30.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4238, allocations: 174.9 MB / 1.316 GB, free: 9.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002038/0.4258, allocations: 0.7187 MB / 1.317 GB, free: 9.027 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001148/0.427, allocations: 0.8351 MB / 1.318 GB, free: 8.18 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.427, allocations: 0 / 1.318 GB, free: 8.18 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.4271, allocations: 7.938 kB / 1.318 GB, free: 8.172 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.5e-05/0.4271, allocations: 7.922 kB / 1.318 GB, free: 8.164 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.4273, allocations: 31.91 kB / 1.318 GB, free: 8.133 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.4274, allocations: 43.86 kB / 1.318 GB, free: 8.09 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.4275, allocations: 11.98 kB / 1.318 GB, free: 8.078 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.785e-05/0.4276, allocations: 23.97 kB / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.4277, allocations: 23.86 kB / 1.318 GB, free: 8.031 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.4277, allocations: 8 kB / 1.318 GB, free: 8.023 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.4278, allocations: 4 kB / 1.318 GB, free: 8.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.4278, allocations: 7.984 kB / 1.318 GB, free: 8.012 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.4278, allocations: 19.88 kB / 1.318 GB, free: 7.992 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.4279, allocations: 51.78 kB / 1.318 GB, free: 7.941 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.597e-05/0.428, allocations: 0 / 1.318 GB, free: 7.941 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.384e-06/0.428, allocations: 0 / 1.318 GB, free: 7.941 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.428, allocations: 0 / 1.318 GB, free: 7.941 MB / 1.014 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.0005876/0.4286, allocations: 278.3 kB / 1.318 GB, free: 7.641 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.4286, allocations: 12.03 kB / 1.318 GB, free: 7.629 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.4286, allocations: 4.891 kB / 1.318 GB, free: 7.625 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.4288, allocations: 114.4 kB / 1.318 GB, free: 7.488 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4288, allocations: 4.375 kB / 1.318 GB, free: 7.484 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.4288, allocations: 8.375 kB / 1.318 GB, free: 7.477 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.429, allocations: 69.59 kB / 1.318 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.429, allocations: 0 / 1.318 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4291, allocations: 0 / 1.318 GB, free: 7.402 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4291, allocations: 3.938 kB / 1.318 GB, free: 7.398 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.4293, allocations: 55.92 kB / 1.318 GB, free: 7.344 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.4298, allocations: 267.7 kB / 1.319 GB, free: 7.039 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.43, allocations: 58.55 kB / 1.319 GB, free: 6.973 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.4301, allocations: 32.91 kB / 1.319 GB, free: 6.938 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.4301, allocations: 4 kB / 1.319 GB, free: 6.934 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.4302, allocations: 38.56 kB / 1.319 GB, free: 6.887 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.4302, allocations: 0 / 1.319 GB, free: 6.887 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0004134/0.4306, allocations: 105.6 kB / 1.319 GB, free: 6.777 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.4306, allocations: 55.39 kB / 1.319 GB, free: 6.711 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4307, allocations: 110 kB / 1.319 GB, free: 6.594 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.4308, allocations: 25.7 kB / 1.319 GB, free: 6.562 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.4308, allocations: 88.12 kB / 1.319 GB, free: 6.473 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.4308, allocations: 15.89 kB / 1.319 GB, free: 6.457 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.4309, allocations: 13.72 kB / 1.319 GB, free: 6.438 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.431, allocations: 326.8 kB / 1.319 GB, free: 6.109 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.4311, allocations: 19.98 kB / 1.319 GB, free: 6.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.095e-05/0.4312, allocations: 23.97 kB / 1.319 GB, free: 6.066 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.4314, allocations: 61.08 kB / 1.319 GB, free: 6.004 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4314, allocations: 0 / 1.319 GB, free: 6.004 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002418/0.4316, allocations: 89.53 kB / 1.32 GB, free: 5.91 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4317, allocations: 4 kB / 1.32 GB, free: 5.906 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4317, allocations: 4 kB / 1.32 GB, free: 5.902 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4317, allocations: 0 / 1.32 GB, free: 5.902 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4318, allocations: 11.98 kB / 1.32 GB, free: 5.891 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4318, allocations: 4.062 kB / 1.32 GB, free: 5.887 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.26e-05/0.4319, allocations: 11.98 kB / 1.32 GB, free: 5.875 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.4319, allocations: 0 / 1.32 GB, free: 5.875 MB / 1.014 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 9.674e-05/0.432, allocations: 118.7 kB / 1.32 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.432, allocations: 3.953 kB / 1.32 GB, free: 5.746 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.4321, allocations: 12 kB / 1.32 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4321, allocations: 0 / 1.32 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4321, allocations: 0 / 1.32 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.4321, allocations: 0 / 1.32 GB, free: 5.723 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.4322, allocations: 148.7 kB / 1.32 GB, free: 5.535 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4322, allocations: 7.938 kB / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.983e-05/0.4323, allocations: 15.92 kB / 1.32 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4324, allocations: 0 / 1.32 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.4324, allocations: 0 / 1.32 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4324, allocations: 0 / 1.32 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4324, allocations: 0 / 1.32 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.4327, allocations: 179.4 kB / 1.32 GB, free: 5.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.4327, allocations: 19.88 kB / 1.32 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4327, allocations: 4 kB / 1.32 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.4328, allocations: 4 kB / 1.32 GB, free: 5.293 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.4329, allocations: 11.98 kB / 1.32 GB, free: 5.281 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.4329, allocations: 3.984 kB / 1.32 GB, free: 5.277 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.336e-05/0.4329, allocations: 87.27 kB / 1.32 GB, free: 5.191 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4329, allocations: 0 / 1.32 GB, free: 5.191 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002212/0.4331, allocations: 11.94 kB / 1.32 GB, free: 5.18 MB / 1.014 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.0001254/0.4333, allocations: 107.7 kB / 1.32 GB, free: 5.066 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.4335, allocations: 51.95 kB / 1.32 GB, free: 5.016 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4335, allocations: 0 / 1.32 GB, free: 5.016 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.4337, allocations: 31.97 kB / 1.32 GB, free: 4.984 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.434, allocations: 8 kB / 1.32 GB, free: 4.977 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.4344, allocations: 141.4 kB / 1.321 GB, free: 4.812 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.4347, allocations: 0.6807 MB / 1.321 GB, free: 4.105 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.331e-05/0.4348, allocations: 4 kB / 1.321 GB, free: 4.102 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.4348, allocations: 11.44 kB / 1.321 GB, free: 4.09 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.4348, allocations: 0 / 1.321 GB, free: 4.09 MB / 1.014 GB Notification: Performance of Templates: time 0.003541/0.4383, allocations: 0.9183 MB / 1.322 GB, free: 3.18 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.137284707278013]