Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Integers.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater",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.004746/0.004746, allocations: 99.64 kB / 15.73 MB, free: 6.004 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.001267/0.001267, allocations: 192.9 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 69.08 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2935, allocations: 162.2 MB / 1.241 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.001904/0.2955, allocations: 0.7834 MB / 1.242 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2965, allocations: 0.8507 MB / 1.243 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.2966, allocations: 0 / 1.243 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.2966, allocations: 7.875 kB / 1.243 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.2967, allocations: 11.88 kB / 1.243 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.2968, allocations: 39.94 kB / 1.243 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.297, allocations: 87.77 kB / 1.243 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2971, allocations: 33.38 kB / 1.243 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.801e-05/0.2972, allocations: 31.91 kB / 1.243 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.169e-05/0.2973, allocations: 47.83 kB / 1.243 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.2973, allocations: 8 kB / 1.243 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.2973, allocations: 11.94 kB / 1.243 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.2974, allocations: 19.97 kB / 1.243 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.2974, allocations: 39.8 kB / 1.243 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.2976, allocations: 91.81 kB / 1.243 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2976, allocations: 4 kB / 1.243 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2976, allocations: 0 / 1.243 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.2976, allocations: 0 / 1.243 GB, free: 7.199 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006584/0.2983, allocations: 391.1 kB / 1.244 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2983, allocations: 12.03 kB / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.2984, allocations: 38.73 kB / 1.244 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.2984, allocations: 12.89 kB / 1.244 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.2986, allocations: 172.3 kB / 1.244 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.2986, allocations: 8.375 kB / 1.244 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.2986, allocations: 8.125 kB / 1.244 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.2989, allocations: 109.5 kB / 1.244 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.299, allocations: 0 / 1.244 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.299, allocations: 4 kB / 1.244 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.299, allocations: 0 / 1.244 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.2994, allocations: 95.91 kB / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.3, allocations: 352.6 kB / 1.245 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.3006, allocations: 122.5 kB / 1.245 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.3008, allocations: 56.81 kB / 1.245 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.3009, allocations: 0 / 1.245 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.3009, allocations: 30.56 kB / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.3009, allocations: 3.938 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0007338/0.3016, allocations: 193.4 kB / 1.245 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3017, allocations: 51.41 kB / 1.245 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3018, allocations: 125.7 kB / 1.245 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.3018, allocations: 25.7 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.187e-05/0.3019, allocations: 104 kB / 1.245 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.3019, allocations: 27.8 kB / 1.245 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.302, allocations: 21.7 kB / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3021, allocations: 318.8 kB / 1.246 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.3024, allocations: 47.95 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.3026, allocations: 44.27 kB / 1.246 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003849/0.3029, allocations: 96.92 kB / 1.246 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.303, allocations: 0 / 1.246 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004554/0.3034, allocations: 141.5 kB / 1.246 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3034, allocations: 8 kB / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3034, allocations: 0 / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.3035, allocations: 4 kB / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.3036, allocations: 23.97 kB / 1.246 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3037, allocations: 3.938 kB / 1.246 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.3038, allocations: 15.97 kB / 1.246 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3038, allocations: 0 / 1.246 GB, free: 4.352 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.273e-05/0.3039, allocations: 114.4 kB / 1.246 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.3039, allocations: 7.953 kB / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.304, allocations: 12.38 kB / 1.246 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.304, allocations: 4 kB / 1.246 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.304, allocations: 3.938 kB / 1.246 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.304, allocations: 3.984 kB / 1.246 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.3042, allocations: 193.6 kB / 1.246 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3042, allocations: 0 / 1.246 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.3044, allocations: 27.91 kB / 1.246 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3044, allocations: 0 / 1.246 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.3044, allocations: 7.984 kB / 1.246 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3045, allocations: 0 / 1.246 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3045, allocations: 7.938 kB / 1.246 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.305, allocations: 232.9 kB / 1.247 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.305, allocations: 85 kB / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.3051, allocations: 4 kB / 1.247 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3052, allocations: 19.98 kB / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/0.3053, allocations: 31.89 kB / 1.247 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3053, allocations: 4 kB / 1.247 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.537e-05/0.3054, allocations: 95.2 kB / 1.247 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.224e-06/0.3054, allocations: 0 / 1.247 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002457/0.3057, allocations: 23.88 kB / 1.247 GB, free: 3.395 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intGre.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 0.0008311/0.3065, allocations: 0.7593 MB / 1.248 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004423/0.307, allocations: 111.8 kB / 1.248 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.307, allocations: 4 kB / 1.248 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.3072, allocations: 63.94 kB / 1.248 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.3075, allocations: 13.66 kB / 1.248 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.3098, allocations: 1.541 MB / 1.249 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.3101, allocations: 0.6923 MB / 1.25 GB, free: 84 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.294e-05/0.3102, allocations: 11.98 kB / 1.25 GB, free: 72 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.892e-05/0.3103, allocations: 27.42 kB / 1.25 GB, free: 44 kB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3103, allocations: 0 / 1.25 GB, free: 44 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.3342, allocations: 2.707 MB / 1.253 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/8.099, allocations: 9.094 kB / 1.253 GB, free: 13.43 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Greater.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches