Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.001341/0.001341, allocations: 108 kB / 15.61 MB, free: 148 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.001561/0.001561, allocations: 191.8 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.632/1.632, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.749/1.749, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001487/0.001487, allocations: 66.73 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2676, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002472/0.2701, allocations: 0.713 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2713, allocations: 0.8282 MB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.2714, allocations: 3.938 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.2715, allocations: 3.938 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.872e-05/0.2716, allocations: 7.922 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.2718, allocations: 23.97 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.2719, allocations: 43.92 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.272, allocations: 19.98 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.2721, allocations: 23.86 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.2722, allocations: 23.91 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.2722, allocations: 4 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.2723, allocations: 4 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.2723, allocations: 15.92 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.2723, allocations: 15.94 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.2725, allocations: 47.84 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2725, allocations: 0 / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2725, allocations: 4 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2725, allocations: 0 / 0.7852 GB, free: 11.57 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.0005755/0.2731, allocations: 355.6 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.2731, allocations: 8.031 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.2732, allocations: 34.75 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.2732, allocations: 8.875 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.2734, allocations: 176.2 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.2734, allocations: 384 / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.2734, allocations: 8.375 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.2737, allocations: 66.16 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2737, allocations: 3.938 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.2737, allocations: 7.938 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2737, allocations: 4 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.2739, allocations: 43.95 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.2744, allocations: 296.8 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.2746, allocations: 62.48 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.2747, allocations: 32.91 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.2748, allocations: 0 / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.2748, allocations: 34.56 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.2748, allocations: 0 / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004243/0.2752, allocations: 109.5 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.2753, allocations: 55.34 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.692e-05/0.2754, allocations: 105.8 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.2754, allocations: 25.7 kB / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.2755, allocations: 92.14 kB / 0.7867 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.2755, allocations: 15.8 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.2755, allocations: 13.72 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2757, allocations: 322.8 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.2758, allocations: 23.97 kB / 0.787 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.2759, allocations: 23.97 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.2761, allocations: 53.09 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2761, allocations: 0 / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002434/0.2763, allocations: 85.64 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2764, allocations: 11.94 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.2764, allocations: 0 / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.2764, allocations: 0 / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.2765, allocations: 11.98 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/0.2765, allocations: 0 / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.2766, allocations: 19.86 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.2766, allocations: 0 / 0.7872 GB, free: 9.27 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,intLesEquThr.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 9.155e-05/0.2767, allocations: 122.4 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.2767, allocations: 3.906 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.2768, allocations: 11.91 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2768, allocations: 0 / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.2768, allocations: 0 / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.2768, allocations: 0 / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001826/0.277, allocations: 177.6 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.277, allocations: 4 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.764e-05/0.2771, allocations: 15.98 kB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2771, allocations: 0 / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.2771, allocations: 0 / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.2771, allocations: 0 / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2771, allocations: 0 / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.2774, allocations: 187.3 kB / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.2775, allocations: 89.02 kB / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.2775, allocations: 0 / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.973e-05/0.2776, allocations: 7.984 kB / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.2777, allocations: 11.98 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.2777, allocations: 0 / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.2778, allocations: 91.66 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2778, allocations: 0 / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000213/0.278, allocations: 4 kB / 0.7879 GB, free: 8.457 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 (intLesEquThr.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.000652/0.2786, allocations: 0.7241 MB / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.2789, allocations: 55.94 kB / 0.7887 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.2789, allocations: 4 kB / 0.7887 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.279, allocations: 31.98 kB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.2794, allocations: 15.91 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.281, allocations: 1.314 MB / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.2813, allocations: 0.6885 MB / 0.7907 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.919e-05/0.2813, allocations: 7.984 kB / 0.7907 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.65e-05/0.2814, allocations: 15.44 kB / 0.7907 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2814, allocations: 0 / 0.7907 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.3011, allocations: 1.817 MB / 0.7925 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.321, allocations: 14.92 kB / 0.7925 GB, free: 3.742 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)