Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01085/0.01085, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 195.8 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.56/2.56, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.725/4.725, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002424/0.002424, allocations: 69.69 kB / 0.9505 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5601/0.5626, allocations: 140.4 MB / 1.088 GB, free: 1.898 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.004893/0.5675, allocations: 1.937 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002683/0.5702, allocations: 1.123 MB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.5705, allocations: 4 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005569/0.5711, allocations: 115.4 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.5716, allocations: 95.58 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006413/0.5722, allocations: 159.6 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.5727, allocations: 215.4 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/0.5729, allocations: 57.62 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.5732, allocations: 103.5 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.5735, allocations: 99.59 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.5735, allocations: 12 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.5738, allocations: 63.97 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.5739, allocations: 67.69 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.5741, allocations: 91.41 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006152/0.5747, allocations: 291 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5747, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5748, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5748, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001377/0.5762, allocations: 0.5563 MB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.5762, allocations: 8.031 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.384e-05/0.5763, allocations: 38.75 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/0.5764, allocations: 20.8 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007056/0.5771, allocations: 315.9 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.5772, allocations: 12.12 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.5772, allocations: 7.984 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/0.5776, allocations: 93.59 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.5776, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.5776, allocations: 3.984 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.5776, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001948/0.5778, allocations: 47.98 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.5789, allocations: 452.4 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.5793, allocations: 90.67 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.5794, allocations: 40.78 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.5795, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.5797, allocations: 83.31 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.044e-06/0.5797, allocations: 0 / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005981/0.5803, allocations: 149.4 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.5804, allocations: 55.39 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/0.581, allocations: 367 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.5811, allocations: 33.7 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.5813, allocations: 148.4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.5813, allocations: 19.86 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.5815, allocations: 45.69 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.5817, allocations: 334.8 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.5819, allocations: 59.92 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.5821, allocations: 89.61 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.5825, allocations: 98.95 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5825, allocations: 0 / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006064/0.5831, allocations: 207.4 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.5832, allocations: 8 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5832, allocations: 3.938 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.5832, allocations: 0 / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.5835, allocations: 23.98 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5835, allocations: 0 / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.5837, allocations: 27.91 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.5838, allocations: 7.984 kB / 1.095 GB, free: 9.828 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 0.0002356/0.584, allocations: 157.8 kB / 1.095 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.5841, allocations: 23.86 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.476e-05/0.5842, allocations: 29.67 kB / 1.095 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5842, allocations: 4 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.5842, allocations: 4 kB / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5842, allocations: 0 / 1.095 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.5846, allocations: 261.5 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5847, allocations: 0 / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.998e-05/0.5847, allocations: 4 kB / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.5847, allocations: 4 kB / 1.096 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.5848, allocations: 3.938 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5848, allocations: 0 / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5848, allocations: 3.984 kB / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.5853, allocations: 144.9 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.5854, allocations: 109 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.5855, allocations: 7.938 kB / 1.096 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.5857, allocations: 11.98 kB / 1.096 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.5858, allocations: 11.98 kB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.5858, allocations: 11.92 kB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003944/0.5863, allocations: 229.9 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.71e-07/0.5863, allocations: 0 / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000504/0.5868, allocations: 35.94 kB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002428/0.5892, allocations: 1.012 MB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004975/0.5897, allocations: 117.8 kB / 1.097 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5898, allocations: 3.938 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.59, allocations: 44.05 kB / 1.097 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/0.5906, allocations: 47.06 kB / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.5954, allocations: 2.373 MB / 1.1 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.596, allocations: 0.7515 MB / 1.1 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001989/0.5962, allocations: 21.95 kB / 1.1 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.5964, allocations: 75.41 kB / 1.101 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of SimCode: time 1.523e-06/0.5964, allocations: 0 / 1.101 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05592/0.6524, allocations: 5.496 MB / 1.106 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.41, allocations: 11.95 kB / 1.106 GB, free: 14.88 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches