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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.321/2.321, allocations: 393.5 MB / 408.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.001211, allocations: 184 kB / 0.4902 GB, free: 2.094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.1 MB / 0.7992 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 105.3 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 10.55 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3168, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/0.5211, allocations: 149.9 MB / 1.376 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.5214, allocations: 71.95 kB / 1.376 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002897/0.5244, allocations: 0.9404 MB / 1.377 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.577e-06/0.5244, allocations: 0 / 1.377 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.455e-06/0.5244, allocations: 0 / 1.377 GB, free: 14.36 MB / 0.8855 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.0004588/0.5249, allocations: 363.2 kB / 1.377 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.5249, allocations: 8.562 kB / 1.377 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.525, allocations: 3.906 kB / 1.377 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.5251, allocations: 178.9 kB / 1.377 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.5251, allocations: 4 kB / 1.377 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.5252, allocations: 4 kB / 1.377 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.5254, allocations: 73.66 kB / 1.377 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5254, allocations: 0 / 1.377 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.5254, allocations: 0 / 1.377 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.5254, allocations: 0 / 1.377 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.5256, allocations: 55.95 kB / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.5262, allocations: 292.8 kB / 1.378 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.5264, allocations: 70.53 kB / 1.378 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.5265, allocations: 3.984 kB / 1.378 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.5265, allocations: 34.56 kB / 1.378 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.5265, allocations: 0 / 1.378 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0004923/0.527, allocations: 133.6 kB / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.5271, allocations: 55.36 kB / 1.378 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.5272, allocations: 101 kB / 1.378 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.5272, allocations: 25.7 kB / 1.378 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.5273, allocations: 88.14 kB / 1.378 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.5273, allocations: 7.812 kB / 1.378 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.5273, allocations: 0 / 1.378 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5275, allocations: 318.8 kB / 1.378 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.5276, allocations: 35.92 kB / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.74e-05/0.5277, allocations: 27.97 kB / 1.378 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.5278, allocations: 27.97 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5278, allocations: 0 / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002565/0.5281, allocations: 101.6 kB / 1.378 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5281, allocations: 7.938 kB / 1.379 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5281, allocations: 0 / 1.379 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.5281, allocations: 0 / 1.379 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.5283, allocations: 23.98 kB / 1.379 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.5283, allocations: 0 / 1.379 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.466e-05/0.5284, allocations: 15.94 kB / 1.379 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.5284, allocations: 0 / 1.379 GB, free: 12.13 MB / 0.8855 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 (intGreEquThr.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.741e-05/0.5285, allocations: 117.8 kB / 1.379 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.5285, allocations: 3.906 kB / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.5286, allocations: 3.906 kB / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5286, allocations: 0 / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5286, allocations: 8 kB / 1.379 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5286, allocations: 0 / 1.379 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.5288, allocations: 177.6 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5288, allocations: 0 / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.5289, allocations: 15.98 kB / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.5289, allocations: 0 / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.5289, allocations: 3.938 kB / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5289, allocations: 0 / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5289, allocations: 0 / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.5292, allocations: 195.5 kB / 1.379 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.5293, allocations: 81.02 kB / 1.379 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.5293, allocations: 0 / 1.379 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.5294, allocations: 15.98 kB / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.5295, allocations: 11.98 kB / 1.379 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.5295, allocations: 0 / 1.379 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.5296, allocations: 91.58 kB / 1.379 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.863e-06/0.5296, allocations: 0 / 1.379 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002267/0.5298, allocations: 19.88 kB / 1.379 GB, free: 11.31 MB / 0.8855 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.u,intGreEquThr.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001544/0.53, allocations: 100.4 kB / 1.379 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002714/0.5302, allocations: 75.88 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5303, allocations: 0 / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.5304, allocations: 40.05 kB / 1.379 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.5306, allocations: 7.953 kB / 1.379 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.531, allocations: 136.7 kB / 1.38 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.5312, allocations: 0.6848 MB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.646e-05/0.5313, allocations: 8 kB / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.5313, allocations: 15.42 kB / 1.38 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of SimCode: time 2.8e-07/0.5313, allocations: 3.938 kB / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of Templates: time 0.002672/0.534, allocations: 0.7351 MB / 1.381 GB, free: 9.453 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches