Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.GreaterThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_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.001091/0.001091, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.689/1.689, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 72.88 kB / 0.6716 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2387, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.003102/0.2419, allocations: 0.709 MB / 0.7842 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2433, allocations: 0.8243 MB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.2434, allocations: 0 / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.377e-05/0.2435, allocations: 7.875 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.2436, allocations: 7.922 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.2438, allocations: 23.97 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.2439, allocations: 43.92 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.2441, allocations: 19.98 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.333e-05/0.2442, allocations: 23.84 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.2443, allocations: 23.92 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.2443, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.2443, allocations: 4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.71e-05/0.2443, allocations: 15.92 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.2444, allocations: 19.92 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.2445, allocations: 39.86 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2445, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2445, allocations: 4 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2446, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 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.0005953/0.2452, allocations: 359.6 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.2452, allocations: 8.031 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.436e-05/0.2453, allocations: 38.73 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.2453, allocations: 0.9375 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.2455, allocations: 180.2 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2455, allocations: 4.359 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.2455, allocations: 4.375 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.2458, allocations: 74.09 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2458, allocations: 3.938 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.2458, allocations: 4 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2458, allocations: 0 / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.246, allocations: 59.92 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.2465, allocations: 280.8 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002169/0.2468, allocations: 70.47 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2469, allocations: 28.92 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.2469, allocations: 0 / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.247, allocations: 38.56 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.247, allocations: 0 / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004579/0.2474, allocations: 109.5 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.2475, allocations: 59.34 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2476, allocations: 105.8 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.2476, allocations: 25.7 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.2477, allocations: 84.14 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.2477, allocations: 15.81 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.2478, allocations: 21.7 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.248, allocations: 318.8 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.2481, allocations: 23.97 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.283e-05/0.2482, allocations: 23.98 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.2484, allocations: 52.81 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2484, allocations: 0 / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002551/0.2487, allocations: 89.58 kB / 0.7872 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.2487, allocations: 4 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2487, allocations: 0 / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2487, allocations: 0 / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.2489, allocations: 11.98 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.2489, allocations: 320 / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.664e-05/0.249, allocations: 19.92 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.249, allocations: 3.938 kB / 0.7872 GB, free: 9.301 MB / 0.6075 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 0.0001016/0.2491, allocations: 118.4 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.2491, allocations: 4.234 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.2492, allocations: 7.891 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2492, allocations: 7.984 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2492, allocations: 0 / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2492, allocations: 0 / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.2494, allocations: 173.7 kB / 0.7875 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2495, allocations: 4 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.2495, allocations: 11.98 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2496, allocations: 3.984 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.2496, allocations: 8 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.2496, allocations: 7.922 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2496, allocations: 0 / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.2499, allocations: 187.4 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.25, allocations: 81.02 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.25, allocations: 4 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.2501, allocations: 7.984 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.2502, allocations: 11.98 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.2502, allocations: 0 / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.208e-05/0.2503, allocations: 91.27 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2503, allocations: 0 / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002222/0.2505, allocations: 4 kB / 0.7879 GB, free: 8.48 MB / 0.6075 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 0.0006774/0.2512, allocations: 0.7241 MB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.2514, allocations: 55.95 kB / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2515, allocations: 4 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.2516, allocations: 39.91 kB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.2519, allocations: 0 / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.2536, allocations: 1.323 MB / 0.79 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.2539, allocations: 0.6807 MB / 0.7907 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.473e-05/0.254, allocations: 4 kB / 0.7907 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.254, allocations: 19.42 kB / 0.7907 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.2541, allocations: 0 / 0.7907 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.2763, allocations: 1.806 MB / 0.7925 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.086, allocations: 11.69 kB / 0.7925 GB, free: 3.777 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)