Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.585/1.585, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 169.5 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.4 MB / 0.5777 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007683/0.0007685, allocations: 89.44 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005425/0.0005428, allocations: 13.59 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2632, allocations: 106.3 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001469/0.2647, allocations: 1.12 MB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003338/0.2651, allocations: 140.5 kB / 0.9015 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.2651, allocations: 0 / 0.9015 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.2652, allocations: 3.984 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.581e-05/0.2652, allocations: 3.938 kB / 0.9016 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.2654, allocations: 19.97 kB / 0.9016 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.844e-05/0.2655, allocations: 39.92 kB / 0.9016 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2656, allocations: 11.98 kB / 0.9016 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.295e-05/0.2656, allocations: 19.92 kB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.2657, allocations: 23.91 kB / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.2657, allocations: 0 / 0.9017 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.2658, allocations: 4 kB / 0.9017 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.2658, allocations: 11.86 kB / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.2658, allocations: 33.64 kB / 0.9017 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.115e-05/0.2659, allocations: 27.94 kB / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2659, allocations: 0 / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2659, allocations: 0 / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2659, allocations: 0 / 0.9017 GB, free: 62.7 MB / 0.6042 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.0005024/0.2664, allocations: 359.5 kB / 0.9021 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.2665, allocations: 8.031 kB / 0.9021 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.2665, allocations: 30.56 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.2666, allocations: 7.953 kB / 0.9021 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.2667, allocations: 174.9 kB / 0.9023 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.2667, allocations: 8 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.2667, allocations: 4 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.267, allocations: 69.66 kB / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.267, allocations: 0 / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.267, allocations: 0 / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.267, allocations: 4 kB / 0.9024 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.2672, allocations: 59.95 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.2676, allocations: 288.8 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.2678, allocations: 70.55 kB / 0.9028 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.2679, allocations: 36.91 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.268, allocations: 4 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.268, allocations: 30.56 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.268, allocations: 3.984 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004278/0.2684, allocations: 129.4 kB / 0.903 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.2685, allocations: 55.41 kB / 0.903 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.2685, allocations: 113.8 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.2686, allocations: 25.7 kB / 0.9032 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.2686, allocations: 92.06 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.2686, allocations: 7.984 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.2686, allocations: 0 / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.73e-05/0.2687, allocations: 314.8 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.2688, allocations: 27.97 kB / 0.9036 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.434e-05/0.2689, allocations: 31.98 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.269, allocations: 31.91 kB / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.269, allocations: 0 / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002357/0.2693, allocations: 101.5 kB / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2693, allocations: 10.81 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2693, allocations: 3.984 kB / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2693, allocations: 0 / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.2695, allocations: 15.94 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2695, allocations: 4 kB / 0.9038 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.2696, allocations: 11.94 kB / 0.9038 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.2696, allocations: 7.984 kB / 0.9038 GB, free: 60.37 MB / 0.6042 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 (intLesEquThr.y,reaToInt.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 7.072e-05/0.2697, allocations: 109.8 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.2697, allocations: 4 kB / 0.9039 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.2697, allocations: 3.906 kB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.2697, allocations: 0 / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2697, allocations: 3.953 kB / 0.9039 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2698, allocations: 0 / 0.9039 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.2699, allocations: 189.5 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2699, allocations: 0 / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.818e-05/0.27, allocations: 15.98 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.27, allocations: 0 / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.27, allocations: 0 / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.27, allocations: 3.938 kB / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.27, allocations: 0 / 0.9041 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.2703, allocations: 195.5 kB / 0.9043 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/0.2703, allocations: 81.11 kB / 0.9044 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.2704, allocations: 0 / 0.9044 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.2705, allocations: 11.98 kB / 0.9044 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.2705, allocations: 11.98 kB / 0.9044 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2705, allocations: 4 kB / 0.9044 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.2706, allocations: 95.56 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2706, allocations: 0 / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001932/0.2708, allocations: 11.86 kB / 0.9045 GB, free: 59.54 MB / 0.6042 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 (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.0004824/0.2713, allocations: 0.7323 MB / 0.9052 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.2715, allocations: 71.94 kB / 0.9053 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2715, allocations: 0 / 0.9053 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.2716, allocations: 39.91 kB / 0.9053 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.2719, allocations: 7.938 kB / 0.9053 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008674/0.2728, allocations: 486.4 kB / 0.9058 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.2729, allocations: 0.6809 MB / 0.9065 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.633e-05/0.273, allocations: 4 kB / 0.9065 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.273, allocations: 15.42 kB / 0.9065 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.273, allocations: 4 kB / 0.9065 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.286, allocations: 1.524 MB / 0.908 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001468/0.2862, allocations: 221.2 kB / 0.9082 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/1.975, allocations: 0 / 0.9082 GB, free: 55.82 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)