Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.0009832/0.0009832, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001086/0.001086, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9977/0.9977, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.84/1.84, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.105e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00451/0.004531, allocations: 0.7298 MB / 0.8123 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008782/0.005409, allocations: 0.876 MB / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.005445, allocations: 0 / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.005475, allocations: 0 / 0.8131 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.745e-05/0.005553, allocations: 14.36 kB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.005697, allocations: 27.84 kB / 0.8132 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.005779, allocations: 47.84 kB / 0.8132 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.005871, allocations: 12 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.932e-05/0.005951, allocations: 23.97 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.006019, allocations: 23.98 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.006042, allocations: 5.531 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.006052, allocations: 4 kB / 0.8133 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.00607, allocations: 7.984 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.006096, allocations: 19.84 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.578e-05/0.006192, allocations: 31.89 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.006194, allocations: 1.375 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.72e-07/0.006195, allocations: 0 / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.006199, allocations: 0 / 0.8133 GB, free: 15.92 MB / 0.7761 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.000393/0.006592, allocations: 374 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.006628, allocations: 12.03 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.006668, allocations: 4.891 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.516e-05/0.006763, allocations: 116.5 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.006786, allocations: 13.47 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.006796, allocations: 384 / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.006937, allocations: 71.45 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.006946, allocations: 3.938 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.006956, allocations: 0.5312 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.006964, allocations: 0.875 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.007014, allocations: 15.98 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.007378, allocations: 280.4 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.007484, allocations: 51.52 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.007758, allocations: 21.08 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.007772, allocations: 4.031 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.007795, allocations: 37.39 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.007796, allocations: 0 / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001915/0.007987, allocations: 58.78 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.008019, allocations: 51.41 kB / 0.8144 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.988e-05/0.008109, allocations: 174.7 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.008121, allocations: 29.7 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.008179, allocations: 135.4 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.008197, allocations: 7.953 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.008235, allocations: 24.12 kB / 0.8147 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.008354, allocations: 0.4884 MB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.5e-05/0.008379, allocations: 5.188 kB / 0.8152 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.008399, allocations: 4 kB / 0.8152 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.285e-05/0.008452, allocations: 32.89 kB / 0.8153 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.008455, allocations: 3.938 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.128e-05/0.008546, allocations: 53.64 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.008559, allocations: 4.719 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.008563, allocations: 0 / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.008576, allocations: 0.875 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.008657, allocations: 11.98 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.008661, allocations: 1.562 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/0.008694, allocations: 4 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.0087, allocations: 0 / 0.8153 GB, free: 13.66 MB / 0.7761 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,intGreThr.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 7.412e-05/0.008774, allocations: 172.4 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.008799, allocations: 5.016 kB / 0.8155 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.008823, allocations: 12 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.008826, allocations: 0 / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.00883, allocations: 3.281 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.008832, allocations: 3.938 kB / 0.8155 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.008958, allocations: 124.7 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.00896, allocations: 3.938 kB / 0.8157 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.008999, allocations: 15.98 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.009001, allocations: 0 / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.009009, allocations: 0 / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.009011, allocations: 0 / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.009011, allocations: 0.5 kB / 0.8157 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.009149, allocations: 201.9 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.009162, allocations: 15.83 kB / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.009173, allocations: 384 / 0.8159 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.009234, allocations: 4 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.009288, allocations: 15.97 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.009291, allocations: 0 / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.009339, allocations: 132 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009339, allocations: 0 / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002211/0.00956, allocations: 8.844 kB / 0.816 GB, free: 12.9 MB / 0.7761 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 (intGreThr.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 8.023e-05/0.00964, allocations: 105.6 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.009745, allocations: 27.67 kB / 0.8162 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.009748, allocations: 4 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.009784, allocations: 19.69 kB / 0.8162 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.01003, allocations: 11.92 kB / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.01031, allocations: 133.3 kB / 0.8163 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.01035, allocations: 59.34 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.01038, allocations: 0.9062 kB / 0.8164 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.01042, allocations: 16.48 kB / 0.8164 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01042, allocations: 4 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of Templates: time 0.002912/0.01333, allocations: 1.019 MB / 0.8174 GB, free: 11.48 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1244764481671154]