Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.001621, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.56/2.56, allocations: 390.2 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003403, allocations: 8 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7961/0.7965, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0009361/0.7975, allocations: 424.6 kB / 0.9539 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008813/0.7984, allocations: 0.8222 MB / 0.9547 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.7984, allocations: 1 kB / 0.9547 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.7984, allocations: 3.984 kB / 0.9547 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.466e-05/0.7985, allocations: 9.172 kB / 0.9547 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.7986, allocations: 16.48 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.482e-05/0.7987, allocations: 24.25 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.7988, allocations: 8.969 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.319e-05/0.7989, allocations: 17.77 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.799, allocations: 35.73 kB / 0.9548 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.799, allocations: 0.8438 kB / 0.9548 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.799, allocations: 1.969 kB / 0.9548 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.7991, allocations: 1.25 kB / 0.9548 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.7991, allocations: 36.23 kB / 0.9549 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.177e-05/0.7992, allocations: 38.41 kB / 0.9549 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.7992, allocations: 0 / 0.9549 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7992, allocations: 0 / 0.9549 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.7992, allocations: 0 / 0.9549 GB, free: 6.957 MB / 0.7169 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.0004209/0.7996, allocations: 355.5 kB / 0.9552 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7997, allocations: 9.438 kB / 0.9553 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.7997, allocations: 6.25 kB / 0.9553 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.931e-05/0.7998, allocations: 173.4 kB / 0.9554 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.7998, allocations: 2.375 kB / 0.9554 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.7999, allocations: 2.406 kB / 0.9554 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.8001, allocations: 72.09 kB / 0.9555 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.8001, allocations: 4 kB / 0.9555 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.8001, allocations: 0.9375 kB / 0.9555 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.8001, allocations: 5.422 kB / 0.9555 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.8003, allocations: 68.31 kB / 0.9556 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.8007, allocations: 287.8 kB / 0.9559 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.8009, allocations: 67.72 kB / 0.9559 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.8009, allocations: 5.453 kB / 0.9559 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.8009, allocations: 39.8 kB / 0.956 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.8009, allocations: 0 / 0.956 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004353/0.8014, allocations: 119.5 kB / 0.9561 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.8014, allocations: 51.41 kB / 0.9561 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.8015, allocations: 115.2 kB / 0.9562 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.8015, allocations: 25.7 kB / 0.9563 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.8015, allocations: 90.8 kB / 0.9563 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.8016, allocations: 13.39 kB / 0.9564 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/0.8016, allocations: 0 / 0.9564 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.22e-05/0.8016, allocations: 320.2 kB / 0.9567 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.8017, allocations: 36.88 kB / 0.9567 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.54e-05/0.8018, allocations: 29.98 kB / 0.9567 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.802, allocations: 28.34 kB / 0.9568 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.802, allocations: 4 kB / 0.9568 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002491/0.8022, allocations: 86.72 kB / 0.9568 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.8022, allocations: 8.891 kB / 0.9568 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.8023, allocations: 1.406 kB / 0.9568 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8023, allocations: 3.984 kB / 0.9569 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.8024, allocations: 22.42 kB / 0.9569 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.8024, allocations: 0 / 0.9569 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.8025, allocations: 7.531 kB / 0.9569 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.8025, allocations: 6.047 kB / 0.9569 GB, free: 5.059 MB / 0.7169 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.892e-05/0.8026, allocations: 107.8 kB / 0.957 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.8026, allocations: 14.09 kB / 0.957 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.8026, allocations: 8.797 kB / 0.957 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.8027, allocations: 5.359 kB / 0.957 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.8027, allocations: 0 / 0.957 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8027, allocations: 0.9688 kB / 0.957 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.8028, allocations: 175.7 kB / 0.9572 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8028, allocations: 0 / 0.9572 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/0.8029, allocations: 17.86 kB / 0.9572 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.8029, allocations: 1.062 kB / 0.9572 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.8029, allocations: 0.8438 kB / 0.9572 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8029, allocations: 3.953 kB / 0.9572 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.803, allocations: 5.188 kB / 0.9572 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.8032, allocations: 188.3 kB / 0.9574 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.8033, allocations: 79.61 kB / 0.9575 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.8033, allocations: 3.984 kB / 0.9575 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.8034, allocations: 12.53 kB / 0.9575 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.8035, allocations: 19.56 kB / 0.9575 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.8035, allocations: 6.453 kB / 0.9575 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.892e-05/0.8035, allocations: 83.97 kB / 0.9576 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8035, allocations: 0 / 0.9576 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002427/0.8038, allocations: 6 kB / 0.9576 GB, free: 4.332 MB / 0.7169 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.0001082/0.8039, allocations: 101.6 kB / 0.9577 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.8042, allocations: 63.59 kB / 0.9578 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8042, allocations: 3.938 kB / 0.9578 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.8043, allocations: 47.62 kB / 0.9578 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.8045, allocations: 2.312 kB / 0.9578 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.8049, allocations: 140 kB / 0.9579 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.805, allocations: 0.6857 MB / 0.9586 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.333e-05/0.805, allocations: 8.219 kB / 0.9586 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.8051, allocations: 13.67 kB / 0.9586 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8051, allocations: 0 / 0.9586 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of Templates: time 0.00327/0.8084, allocations: 0.7418 MB / 0.9594 GB, free: 2.953 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches