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.0008524/0.0008524, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008231/0.0008231, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8812/0.8812, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.764/1.764, allocations: 377.8 MB / 0.6228 GB, free: 8.68 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 3.307e-06/3.307e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/3.145e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001663/0.001694, allocations: 0.7018 MB / 0.9829 GB, free: 1.375 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000868/0.002562, allocations: 0.8548 MB / 0.9837 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.833e-05/0.0026, allocations: 0 / 0.9837 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.002639, allocations: 7.922 kB / 0.9837 GB, free: 0.5 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.568e-05/0.002715, allocations: 7.875 kB / 0.9837 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.002871, allocations: 23.92 kB / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.639e-05/0.002957, allocations: 47.89 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.003063, allocations: 8 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.885e-05/0.003142, allocations: 27.91 kB / 0.9838 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.003197, allocations: 19.97 kB / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.003223, allocations: 4 kB / 0.9839 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-06/0.003232, allocations: 8 kB / 0.9839 GB, free: 364 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.094e-05/0.003252, allocations: 19.92 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.003274, allocations: 8 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.003375, allocations: 47.84 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.003378, allocations: 0 / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.573e-06/0.00338, allocations: 0 / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.003384, allocations: 3.938 kB / 0.984 GB, free: 284 kB / 0.9323 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.0004162/0.0038, allocations: 286.2 kB / 0.9842 GB, free: 15.97 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.003837, allocations: 8.031 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.003868, allocations: 8.891 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.003975, allocations: 113.8 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.003989, allocations: 384 / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.004001, allocations: 8.375 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.004148, allocations: 70.2 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.004158, allocations: 3.938 kB / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.004168, allocations: 0 / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.004172, allocations: 0 / 0.9844 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.004285, allocations: 51.89 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003271/0.004613, allocations: 232.5 kB / 0.9847 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.004746, allocations: 62.48 kB / 0.9848 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.004803, allocations: 28.91 kB / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.004819, allocations: 0 / 0.9848 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.004842, allocations: 46.48 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.004843, allocations: 0 / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002671/0.00511, allocations: 105.6 kB / 0.9849 GB, free: 15.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.00514, allocations: 51.41 kB / 0.985 GB, free: 15.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.005206, allocations: 109.8 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.005216, allocations: 25.7 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.005262, allocations: 99.95 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.005279, allocations: 7.953 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.005311, allocations: 21.66 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.005389, allocations: 318.8 kB / 0.9855 GB, free: 14.49 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.94e-05/0.005449, allocations: 19.98 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.954e-05/0.005498, allocations: 27.97 kB / 0.9856 GB, free: 14.44 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.005602, allocations: 56.75 kB / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.005606, allocations: 7.938 kB / 0.9856 GB, free: 14.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/0.005742, allocations: 77.61 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.005756, allocations: 8 kB / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.00576, allocations: 0 / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.005772, allocations: 0 / 0.9857 GB, free: 14.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/0.005857, allocations: 19.97 kB / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.005861, allocations: 0 / 0.9857 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.005894, allocations: 4 kB / 0.9857 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.005899, allocations: 0 / 0.9857 GB, free: 14.26 MB / 0.948 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.815e-05/0.005967, allocations: 125.7 kB / 0.9859 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.005982, allocations: 4 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.915e-05/0.006001, allocations: 8 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.006003, allocations: 0 / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.006007, allocations: 0 / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.00601, allocations: 0 / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.00611, allocations: 125.3 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.006113, allocations: 3.938 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/0.006156, allocations: 15.98 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.006158, allocations: 0 / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.006167, allocations: 3.984 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.006169, allocations: 4.312 kB / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.00617, allocations: 0 / 0.986 GB, free: 13.94 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.006343, allocations: 175.5 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.009e-05/0.006354, allocations: 7.938 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.006364, allocations: 4 kB / 0.9862 GB, free: 13.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.835e-05/0.006412, allocations: 7.984 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.006462, allocations: 16.3 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.006466, allocations: 7.938 kB / 0.9862 GB, free: 13.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.26e-05/0.006499, allocations: 87.27 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006499, allocations: 0 / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001564/0.006655, allocations: 15.89 kB / 0.9863 GB, free: 13.61 MB / 0.948 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.643e-05/0.006752, allocations: 99.23 kB / 0.9864 GB, free: 13.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.006911, allocations: 55.94 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.006913, allocations: 0 / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/0.006973, allocations: 39.91 kB / 0.9865 GB, free: 13.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.007201, allocations: 7.875 kB / 0.9865 GB, free: 13.39 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.007529, allocations: 154.5 kB / 0.9867 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.4e-05/0.007583, allocations: 67.28 kB / 0.9867 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.221e-05/0.007625, allocations: 20.5 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of SimCode: time 6.41e-07/0.007626, allocations: 0 / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of Templates: time 0.001778/0.009404, allocations: 0.8287 MB / 0.9876 GB, free: 12.29 MB / 0.948 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.6590804206207395]