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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001033/0.001033, allocations: 182.8 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0008748/0.0008748, allocations: 93.48 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003823, allocations: 11.81 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.248, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001495/0.2495, allocations: 1.143 MB / 0.8979 GB, free: 67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003393/0.2499, allocations: 149.2 kB / 0.898 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.2499, allocations: 4 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.25, allocations: 7.922 kB / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.812e-05/0.2501, allocations: 0 / 0.898 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.2502, allocations: 15.98 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.343e-05/0.2503, allocations: 39.92 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2504, allocations: 16.25 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.456e-05/0.2505, allocations: 19.92 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.2506, allocations: 23.86 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.2506, allocations: 4 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.2506, allocations: 7.938 kB / 0.8981 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.2506, allocations: 7.984 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.2507, allocations: 19.86 kB / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.471e-05/0.2507, allocations: 31.86 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2508, allocations: 4 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2508, allocations: 0 / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.2508, allocations: 0 / 0.8982 GB, free: 66.66 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.0004375/0.2512, allocations: 347.5 kB / 0.8985 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.2513, allocations: 8.031 kB / 0.8985 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.2513, allocations: 4.938 kB / 0.8985 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.961e-05/0.2514, allocations: 176.2 kB / 0.8987 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2514, allocations: 8.375 kB / 0.8987 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.2514, allocations: 384 / 0.8987 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.2516, allocations: 74.22 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2516, allocations: 4.125 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2517, allocations: 3.938 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2517, allocations: 4 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.2519, allocations: 63.94 kB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.2523, allocations: 284.8 kB / 0.8991 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.2524, allocations: 70.48 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/0.2525, allocations: 48.91 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.2526, allocations: 0 / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.2526, allocations: 30.56 kB / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.2526, allocations: 0 / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003683/0.253, allocations: 129.5 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.253, allocations: 55.41 kB / 0.8995 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.2531, allocations: 105.8 kB / 0.8996 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.2531, allocations: 25.7 kB / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.2531, allocations: 96.06 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.2532, allocations: 15.69 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.2532, allocations: 17.72 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.2532, allocations: 314.8 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.271e-05/0.2533, allocations: 27.97 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.2534, allocations: 31.97 kB / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.2536, allocations: 68.75 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2536, allocations: 3.938 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000205/0.2538, allocations: 93.66 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2539, allocations: 4 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.2539, allocations: 0 / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2539, allocations: 0 / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.254, allocations: 19.92 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.254, allocations: 0 / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.2541, allocations: 15.98 kB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2541, allocations: 0 / 0.9003 GB, free: 64.32 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 (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 6.361e-05/0.2542, allocations: 117.8 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.2542, allocations: 7.891 kB / 0.9004 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.2542, allocations: 7.906 kB / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2542, allocations: 0 / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2542, allocations: 4 kB / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2543, allocations: 0 / 0.9004 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.2544, allocations: 177.6 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2544, allocations: 4 kB / 0.9006 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.2545, allocations: 19.98 kB / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2545, allocations: 0 / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-06/0.2545, allocations: 0 / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2545, allocations: 0 / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2545, allocations: 0 / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.2548, allocations: 199.4 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.2548, allocations: 85.02 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.2548, allocations: 4 kB / 0.9009 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.2549, allocations: 7.984 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.255, allocations: 11.98 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.255, allocations: 4 kB / 0.9009 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.706e-05/0.255, allocations: 87.27 kB / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.255, allocations: 0 / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001927/0.2552, allocations: 12 kB / 0.901 GB, free: 63.48 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 (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.0001058/0.2553, allocations: 95.62 kB / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.2556, allocations: 67.94 kB / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2556, allocations: 0 / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.788e-05/0.2557, allocations: 43.91 kB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.256, allocations: 11.88 kB / 0.9012 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.2563, allocations: 169.8 kB / 0.9014 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.2564, allocations: 0.6809 MB / 0.902 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.2564, allocations: 15.42 kB / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2564, allocations: 0 / 0.902 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.001802/0.2582, allocations: 0.796 MB / 0.9028 GB, free: 61.55 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)