Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 99.86 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.001268/0.001268, 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.499/1.499, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.579/2.579, allocations: 390.3 MB / 0.6653 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 12 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8888/0.8892, 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.Min): time 0.0009897/0.8902, allocations: 482.5 kB / 0.954 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009637/0.8912, allocations: 0.856 MB / 0.9548 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.8913, allocations: 1.312 kB / 0.9548 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.8913, allocations: 3.984 kB / 0.9548 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.8914, allocations: 21.33 kB / 0.9548 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.8916, allocations: 28.31 kB / 0.9549 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.98e-05/0.8917, allocations: 41.22 kB / 0.9549 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.8918, allocations: 25.83 kB / 0.9549 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.167e-05/0.8919, allocations: 31.58 kB / 0.955 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.892, allocations: 39.8 kB / 0.955 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.892, allocations: 8.031 kB / 0.955 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.869e-05/0.8921, allocations: 3.438 kB / 0.955 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.8921, allocations: 10.83 kB / 0.955 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.8921, allocations: 36.3 kB / 0.9551 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.736e-05/0.8922, allocations: 60.56 kB / 0.9551 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.8922, allocations: 3.938 kB / 0.9551 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8923, allocations: 0 / 0.9551 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.8923, allocations: 0 / 0.9551 GB, free: 6.805 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005586/0.8928, allocations: 398.6 kB / 0.9555 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.8929, allocations: 8.531 kB / 0.9555 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.8929, allocations: 12.11 kB / 0.9555 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.8931, allocations: 176.5 kB / 0.9557 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.8931, allocations: 1.688 kB / 0.9557 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.8931, allocations: 8.594 kB / 0.9557 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.8934, allocations: 112.4 kB / 0.9558 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.8935, allocations: 1.125 kB / 0.9558 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.8935, allocations: 0 / 0.9558 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.8935, allocations: 5.766 kB / 0.9558 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003915/0.8939, allocations: 122.5 kB / 0.9559 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.8944, allocations: 342.9 kB / 0.9563 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.895, allocations: 136 kB / 0.9564 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.895, allocations: 4.766 kB / 0.9564 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.8951, allocations: 35.53 kB / 0.9564 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.8951, allocations: 1.031 kB / 0.9564 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006857/0.8958, allocations: 209 kB / 0.9566 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.8958, allocations: 52.53 kB / 0.9567 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.8959, allocations: 124.4 kB / 0.9568 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.8959, allocations: 30.92 kB / 0.9568 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.867e-05/0.8959, allocations: 90.44 kB / 0.9569 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.896, allocations: 23.12 kB / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.896, allocations: 0 / 0.9569 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.896, allocations: 324.9 kB / 0.9572 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.8962, allocations: 61.98 kB / 0.9573 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.8964, allocations: 61.86 kB / 0.9574 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.8966, allocations: 49.25 kB / 0.9574 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8966, allocations: 3.938 kB / 0.9574 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004041/0.897, allocations: 163.2 kB / 0.9576 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.897, allocations: 5.438 kB / 0.9576 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.8971, allocations: 4 kB / 0.9576 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.8971, allocations: 0.9688 kB / 0.9576 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.8973, allocations: 29.62 kB / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.8973, allocations: 0 / 0.9576 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.8974, allocations: 20.45 kB / 0.9576 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.8974, allocations: 10.67 kB / 0.9576 GB, free: 4.645 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.49e-05/0.8975, allocations: 116.6 kB / 0.9577 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.8975, allocations: 12.98 kB / 0.9578 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004559/0.898, allocations: 168.1 kB / 0.9579 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.898, allocations: 5.578 kB / 0.9579 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.898, allocations: 3.984 kB / 0.9579 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.898, allocations: 1.562 kB / 0.9579 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.8982, allocations: 195.6 kB / 0.9581 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8982, allocations: 4 kB / 0.9581 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.8983, allocations: 28.94 kB / 0.9581 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.8984, allocations: 3.953 kB / 0.9582 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.8984, allocations: 5.359 kB / 0.9582 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8984, allocations: 1.375 kB / 0.9582 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8984, allocations: 0 / 0.9582 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004406/0.8988, allocations: 260 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.558e-05/0.8989, allocations: 82.95 kB / 0.9585 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.8989, allocations: 3.953 kB / 0.9585 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.899, allocations: 16.58 kB / 0.9585 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.8991, allocations: 23.09 kB / 0.9585 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.8991, allocations: 5.797 kB / 0.9585 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.06e-05/0.8992, allocations: 88.25 kB / 0.9586 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8992, allocations: 3.938 kB / 0.9586 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002333/0.8994, allocations: 29.12 kB / 0.9586 GB, free: 3.754 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001229/0.8996, allocations: 99.05 kB / 0.9587 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.9, allocations: 137.8 kB / 0.9589 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9, allocations: 0 / 0.9589 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.9002, allocations: 71.94 kB / 0.9589 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.9005, allocations: 8.125 kB / 0.9589 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.9009, allocations: 189.7 kB / 0.9591 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.9011, allocations: 0.701 MB / 0.9598 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.078e-05/0.9012, allocations: 14.36 kB / 0.9598 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.9012, allocations: 13.44 kB / 0.9598 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of SimCode: time 4.7e-07/0.9012, allocations: 0 / 0.9598 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.004253/0.9055, allocations: 1.289 MB / 0.9611 GB, free: 2.023 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches