Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0009193/0.0009193, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.002195, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007223/0.0007223, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009648/0.001687, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9726/0.9726, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09562/1.068, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.966/1.966, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5689/2.535, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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: 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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.7297 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.871e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002472/0.002501, allocations: 0.7723 MB / 0.7304 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.003539, allocations: 0.8763 MB / 0.7313 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.003576, allocations: 2.844 kB / 0.7313 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.00361, allocations: 7.922 kB / 0.7313 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.225e-05/0.003663, allocations: 10.45 kB / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.258e-05/0.003755, allocations: 27.91 kB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.003856, allocations: 37.56 kB / 0.7313 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.003962, allocations: 15.98 kB / 0.7314 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.00409, allocations: 38.25 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/0.00417, allocations: 18.67 kB / 0.7314 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.004205, allocations: 5.406 kB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.004218, allocations: 4 kB / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.004247, allocations: 10.62 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.004275, allocations: 9.531 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.004396, allocations: 31.53 kB / 0.7315 GB, free: 2.605 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.548e-05/0.004412, allocations: 4.812 kB / 0.7315 GB, free: 2.602 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.72e-07/0.004412, allocations: 0 / 0.7315 GB, free: 2.602 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.00443, allocations: 0 / 0.7315 GB, free: 2.602 MB / 0.698 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.0005402/0.00497, allocations: 249.2 kB / 0.7317 GB, free: 2.336 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.005009, allocations: 8.562 kB / 0.7317 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.00505, allocations: 10.86 kB / 0.7317 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.005174, allocations: 121.7 kB / 0.7318 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.005199, allocations: 4.375 kB / 0.7319 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.005217, allocations: 0.9688 kB / 0.7319 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.005395, allocations: 67.77 kB / 0.7319 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.00541, allocations: 7.875 kB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.005422, allocations: 5.25 kB / 0.7319 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.00543, allocations: 0 / 0.7319 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/0.005478, allocations: 11.98 kB / 0.7319 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.005841, allocations: 165.8 kB / 0.7321 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.005948, allocations: 35.11 kB / 0.7321 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.005979, allocations: 18.52 kB / 0.7322 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.005999, allocations: 7.938 kB / 0.7322 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.006028, allocations: 30.56 kB / 0.7322 GB, free: 1.789 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.084e-06/0.00603, allocations: 0 / 0.7322 GB, free: 1.789 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001989/0.006229, allocations: 51.25 kB / 0.7322 GB, free: 1.734 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.006278, allocations: 51.41 kB / 0.7323 GB, free: 1.672 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.006375, allocations: 112.3 kB / 0.7324 GB, free: 1.551 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.006391, allocations: 25.7 kB / 0.7324 GB, free: 1.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.128e-05/0.006453, allocations: 97.06 kB / 0.7325 GB, free: 1.422 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.006476, allocations: 3.953 kB / 0.7325 GB, free: 1.418 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.006521, allocations: 18.58 kB / 0.7325 GB, free: 1.395 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.006649, allocations: 318.8 kB / 0.7328 GB, free: 1.074 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.487e-05/0.006673, allocations: 11.92 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.686e-05/0.00669, allocations: 4.875 kB / 0.7329 GB, free: 1.059 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.115e-05/0.006741, allocations: 18.59 kB / 0.7329 GB, free: 1.039 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.006746, allocations: 4 kB / 0.7329 GB, free: 1.035 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.934e-05/0.006845, allocations: 49.62 kB / 0.7329 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.006865, allocations: 8.656 kB / 0.7329 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.006872, allocations: 0 / 0.7329 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.006889, allocations: 0.5 kB / 0.7329 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.007002, allocations: 13.08 kB / 0.7329 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.007005, allocations: 3.938 kB / 0.7329 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.007042, allocations: 4 kB / 0.733 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.00705, allocations: 5.672 kB / 0.733 GB, free: 0.9492 MB / 0.698 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 6.83e-05/0.007118, allocations: 107 kB / 0.7331 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.007143, allocations: 7.938 kB / 0.7331 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.007171, allocations: 8.719 kB / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.007173, allocations: 0 / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.007176, allocations: 5.031 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.007178, allocations: 0 / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.00731, allocations: 81.77 kB / 0.7332 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007312, allocations: 0.5312 kB / 0.7332 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.007374, allocations: 11.98 kB / 0.7332 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-06/0.007382, allocations: 2.281 kB / 0.7332 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.007384, allocations: 3.938 kB / 0.7332 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.007394, allocations: 11.98 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.007395, allocations: 0 / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.007396, allocations: 1.219 kB / 0.7332 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.007515, allocations: 135.8 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.007528, allocations: 11.92 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.007595, allocations: 9.281 kB / 0.7333 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.00765, allocations: 11.98 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.007655, allocations: 0 / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.783e-05/0.007673, allocations: 13.61 kB / 0.7334 GB, free: 500 kB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.007673, allocations: 0 / 0.7334 GB, free: 500 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001994/0.007873, allocations: 12.62 kB / 0.7334 GB, free: 488 kB / 0.698 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 9.414e-05/0.007967, allocations: 81.12 kB / 0.7335 GB, free: 400 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.659e-05/0.008053, allocations: 25.58 kB / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.008058, allocations: 0 / 0.7335 GB, free: 372 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.72e-05/0.008095, allocations: 17.67 kB / 0.7335 GB, free: 352 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.008316, allocations: 51.02 kB / 0.7335 GB, free: 296 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004526/0.008769, allocations: 124.5 kB / 0.7337 GB, free: 144 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.148e-05/0.008811, allocations: 56.61 kB / 0.7337 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.261e-05/0.008853, allocations: 9.141 kB / 0.7337 GB, free: 60 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.008928, allocations: 55.38 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/0.008929, allocations: 1.25 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of Templates: time 0.003229/0.01216, allocations: 0.9645 MB / 0.7347 GB, free: 15.07 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.092904342338443]