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.LessThreshold.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.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.608/1.608, 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.0009517/0.0009517, allocations: 182 kB / 326.6 MB, free: 2.219 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.672/1.672, allocations: 205.4 MB / 0.5776 GB, free: 20.29 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.0007676/0.0007676, allocations: 92.33 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 12.38 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.26, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001419/0.2615, allocations: 1.116 MB / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003071/0.2618, allocations: 144.5 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.2619, allocations: 4 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.2619, allocations: 0 / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/0.262, allocations: 7.922 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.2621, allocations: 19.98 kB / 0.9016 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.365e-05/0.2622, allocations: 39.91 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.2623, allocations: 15.97 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.11e-05/0.2623, allocations: 19.92 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.2624, allocations: 15.92 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.2624, allocations: 4 kB / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.2625, allocations: 0 / 0.9017 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.451e-05/0.2625, allocations: 15.91 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.2625, allocations: 33.64 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.166e-05/0.2626, allocations: 27.94 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2626, allocations: 0 / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2626, allocations: 0 / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2626, allocations: 0 / 0.9017 GB, free: 62.31 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.0004602/0.2631, allocations: 355.5 kB / 0.9021 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.2631, allocations: 12.03 kB / 0.9021 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.2631, allocations: 34.56 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.2632, allocations: 7.953 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2633, allocations: 170.9 kB / 0.9023 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2633, allocations: 4 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.938e-06/0.2633, allocations: 3.938 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.2635, allocations: 77.66 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.2635, allocations: 0 / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2636, allocations: 4 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2636, allocations: 0 / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.2638, allocations: 63.95 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.2642, allocations: 292.8 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.2644, allocations: 70.55 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2645, allocations: 36.91 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.2645, allocations: 0 / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.2645, allocations: 30.56 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2645, allocations: 0 / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0004059/0.265, allocations: 133.4 kB / 0.903 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.265, allocations: 55.41 kB / 0.903 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.039e-05/0.2651, allocations: 105.8 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2651, allocations: 29.7 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.2651, allocations: 92.06 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.622e-05/0.2651, allocations: 11.91 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.2651, allocations: 0 / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.2652, allocations: 310.8 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.2653, allocations: 31.97 kB / 0.9036 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.128e-05/0.2654, allocations: 27.98 kB / 0.9036 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.835e-05/0.2655, allocations: 31.91 kB / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2655, allocations: 0 / 0.9036 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002267/0.2658, allocations: 109.5 kB / 0.9037 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2658, allocations: 4 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2658, allocations: 0 / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2658, allocations: 0 / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.2659, allocations: 19.94 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2659, allocations: 0 / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.266, allocations: 15.98 kB / 0.9038 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.266, allocations: 0 / 0.9038 GB, free: 59.99 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 (intLesThr.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 6.129e-05/0.2661, allocations: 114.2 kB / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.2661, allocations: 0 / 0.9039 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.2662, allocations: 7.906 kB / 0.9039 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2662, allocations: 7.984 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2662, allocations: 3.953 kB / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2662, allocations: 0 / 0.9039 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.2663, allocations: 173.5 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2663, allocations: 0 / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.593e-05/0.2664, allocations: 19.98 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2664, allocations: 0 / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.2664, allocations: 3.938 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2665, allocations: 0 / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2665, allocations: 7.922 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.2667, allocations: 191.5 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.2667, allocations: 81.09 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.2668, allocations: 4 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2669, allocations: 11.98 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.2669, allocations: 7.984 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-06/0.267, allocations: 4 kB / 0.9044 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.267, allocations: 87.36 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.267, allocations: 0 / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001962/0.2672, allocations: 19.8 kB / 0.9045 GB, free: 59.16 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 (intLesThr.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.0004724/0.2677, allocations: 0.728 MB / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.268, allocations: 59.95 kB / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.268, allocations: 4 kB / 0.9053 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.2681, allocations: 43.91 kB / 0.9053 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.2684, allocations: 11.92 kB / 0.9053 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008469/0.2692, allocations: 482.3 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2694, allocations: 0.6848 MB / 0.9065 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.714e-05/0.2694, allocations: 7.984 kB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.2695, allocations: 15.44 kB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2695, allocations: 0 / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01159/0.2811, allocations: 1.537 MB / 0.908 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.2813, allocations: 210.9 kB / 0.9082 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.946, allocations: 5.25 kB / 0.9082 GB, free: 55.43 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1)