Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.622/2.622, allocations: 287.3 MB / 302.3 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001477, allocations: 181.3 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.6295 GB, free: 10.67 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001141, allocations: 98.38 kB / 0.7428 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007102/0.0007101, allocations: 16.17 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2456, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.0009185/0.2466, allocations: 421.7 kB / 0.9787 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.2476, allocations: 0.8282 MB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.2477, allocations: 3.938 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.2477, allocations: 3.984 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-05/0.2478, allocations: 7.938 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.2479, allocations: 15.98 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.785e-05/0.248, allocations: 23.97 kB / 0.9796 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.2481, allocations: 8 kB / 0.9796 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.342e-05/0.2482, allocations: 19.91 kB / 0.9796 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.2482, allocations: 23.91 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.2483, allocations: 4 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.2483, allocations: 0 / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.2483, allocations: 4 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.2483, allocations: 33.64 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.859e-05/0.2484, allocations: 39.91 kB / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.2484, allocations: 0 / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2484, allocations: 0 / 0.9797 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2485, allocations: 4 kB / 0.9797 GB, free: 26.87 MB / 0.6198 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.000504/0.249, allocations: 347.5 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.249, allocations: 16 kB / 0.98 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.2491, allocations: 34.56 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.2491, allocations: 11.8 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.2492, allocations: 167 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.2493, allocations: 4 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.2493, allocations: 8 kB / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.2495, allocations: 73.64 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2496, allocations: 3.938 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.2496, allocations: 0 / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2496, allocations: 0 / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003399/0.25, allocations: 71.94 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.2504, allocations: 288.7 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.2507, allocations: 79.47 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.2507, allocations: 0 / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.2508, allocations: 38.59 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.2508, allocations: 0 / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0006117/0.2514, allocations: 121.7 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.2514, allocations: 51.41 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.2515, allocations: 109.8 kB / 0.981 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.2515, allocations: 29.7 kB / 0.9811 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.2516, allocations: 84.05 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.2516, allocations: 19.83 kB / 0.9812 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-06/0.2516, allocations: 4 kB / 0.9812 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.2517, allocations: 310.8 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.2519, allocations: 31.97 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2521, allocations: 36.09 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.2522, allocations: 31.97 kB / 0.9816 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2522, allocations: 0 / 0.9816 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003788/0.2526, allocations: 89.66 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2527, allocations: 4 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2527, allocations: 0 / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2527, allocations: 4 kB / 0.9817 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2529, allocations: 11.98 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2529, allocations: 3.953 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.253, allocations: 23.83 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.2531, allocations: 3.938 kB / 0.9817 GB, free: 24.58 MB / 0.6198 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 6.997e-05/0.2531, allocations: 123.8 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.175e-05/0.2532, allocations: 0 / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.2532, allocations: 11.91 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.2532, allocations: 0 / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2532, allocations: 0 / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2532, allocations: 3.953 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2534, allocations: 173.6 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2534, allocations: 0 / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.2536, allocations: 15.98 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2536, allocations: 0 / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.2536, allocations: 8 kB / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2536, allocations: 0 / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2536, allocations: 0 / 0.982 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.254, allocations: 199.3 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.2541, allocations: 81.11 kB / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.2541, allocations: 0 / 0.9823 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.2543, allocations: 11.98 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.2544, allocations: 11.98 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-06/0.2544, allocations: 0 / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.2544, allocations: 83.27 kB / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.2545, allocations: 4 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002986/0.2548, allocations: 12 kB / 0.9824 GB, free: 23.76 MB / 0.6198 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.0005891/0.2554, allocations: 0.7241 MB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.2558, allocations: 71.88 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2558, allocations: 0 / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.256, allocations: 36.31 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.2562, allocations: 11.92 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.2574, allocations: 482.4 kB / 0.9837 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.2576, allocations: 0.6809 MB / 0.9844 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.41e-05/0.2576, allocations: 8.094 kB / 0.9844 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.2577, allocations: 19.42 kB / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of SimCode: time 6.32e-07/0.2577, allocations: 0 / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.2819, allocations: 1.524 MB / 0.9859 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.2822, allocations: 199.7 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/2.797, allocations: 0 / 0.9861 GB, free: 20.05 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)