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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009949/0.0009947, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01408/0.01408, allocations: 171.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004801, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8438/0.8443, allocations: 142.4 MB / 0.9551 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.0008381/0.8452, allocations: 429.4 kB / 0.9555 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008685/0.8461, allocations: 0.8313 MB / 0.9563 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.8461, allocations: 1.406 kB / 0.9563 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.8462, allocations: 3.938 kB / 0.9563 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.798e-05/0.8463, allocations: 7.984 kB / 0.9563 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.8464, allocations: 17.98 kB / 0.9563 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.397e-05/0.8465, allocations: 40.84 kB / 0.9563 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.8466, allocations: 10.41 kB / 0.9564 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.8467, allocations: 22.33 kB / 0.9564 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.507e-05/0.8467, allocations: 21.69 kB / 0.9564 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.8468, allocations: 2.594 kB / 0.9564 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.8468, allocations: 2.219 kB / 0.9564 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.8468, allocations: 13.27 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.8468, allocations: 40.44 kB / 0.9564 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.191e-05/0.8469, allocations: 52.25 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8469, allocations: 0 / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8469, allocations: 0 / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.847, allocations: 1.031 kB / 0.9565 GB, free: 6.555 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.0004461/0.8474, allocations: 351.4 kB / 0.9568 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.8475, allocations: 12.47 kB / 0.9568 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.8475, allocations: 11.94 kB / 0.9569 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.8476, allocations: 166.6 kB / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.8476, allocations: 1.688 kB / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.8477, allocations: 2.719 kB / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.8479, allocations: 78.48 kB / 0.9571 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.8479, allocations: 0 / 0.9571 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.8479, allocations: 5.344 kB / 0.9571 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.8479, allocations: 5.156 kB / 0.9571 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.8481, allocations: 60.56 kB / 0.9572 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.8485, allocations: 296 kB / 0.9574 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.8488, allocations: 72.39 kB / 0.9575 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.8489, allocations: 31.22 kB / 0.9575 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.8489, allocations: 5.125 kB / 0.9575 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.8489, allocations: 31.72 kB / 0.9576 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.8489, allocations: 0 / 0.9576 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004287/0.8494, allocations: 124.7 kB / 0.9577 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.8494, allocations: 55.39 kB / 0.9578 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.954e-05/0.8495, allocations: 114.7 kB / 0.9579 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.8495, allocations: 33.64 kB / 0.9579 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.8495, allocations: 81.92 kB / 0.958 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.8495, allocations: 13.66 kB / 0.958 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.8496, allocations: 11.53 kB / 0.958 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.8496, allocations: 328.5 kB / 0.9583 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.8497, allocations: 26.42 kB / 0.9583 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.815e-05/0.8498, allocations: 28.16 kB / 0.9584 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.85, allocations: 68.86 kB / 0.9584 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.85, allocations: 3.938 kB / 0.9584 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002609/0.8503, allocations: 94.12 kB / 0.9585 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.8503, allocations: 9.406 kB / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.8503, allocations: 0 / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8504, allocations: 4.516 kB / 0.9585 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.8505, allocations: 18.08 kB / 0.9586 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.8505, allocations: 1.344 kB / 0.9586 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.8506, allocations: 6.594 kB / 0.9586 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.8506, allocations: 6.016 kB / 0.9586 GB, free: 4.598 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 (reaToInt.y,intLesThr.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.08e-05/0.8507, allocations: 120 kB / 0.9587 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.8507, allocations: 2.156 kB / 0.9587 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.218e-05/0.8507, allocations: 4.938 kB / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8507, allocations: 1.125 kB / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.8507, allocations: 0 / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.8507, allocations: 0 / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.8509, allocations: 180.3 kB / 0.9589 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8509, allocations: 3.938 kB / 0.9589 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.994e-05/0.851, allocations: 18.08 kB / 0.9589 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.851, allocations: 5.094 kB / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.851, allocations: 0 / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.851, allocations: 1.125 kB / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.851, allocations: 0 / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.8513, allocations: 201.8 kB / 0.9591 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.8513, allocations: 78.17 kB / 0.9592 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.8513, allocations: 4.891 kB / 0.9592 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.8515, allocations: 8.156 kB / 0.9592 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.8515, allocations: 11.33 kB / 0.9592 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.8515, allocations: 5.172 kB / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.916e-05/0.8516, allocations: 85.12 kB / 0.9593 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8516, allocations: 4 kB / 0.9593 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002278/0.8518, allocations: 7.406 kB / 0.9593 GB, free: 3.871 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 (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.0001063/0.8519, allocations: 100 kB / 0.9594 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002589/0.8522, allocations: 69.75 kB / 0.9594 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.8522, allocations: 7.938 kB / 0.9594 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.8523, allocations: 34.31 kB / 0.9595 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.8526, allocations: 5.797 kB / 0.9595 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.8529, allocations: 151.9 kB / 0.9596 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.853, allocations: 0.6846 MB / 0.9603 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.306e-05/0.8531, allocations: 4.656 kB / 0.9603 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.8531, allocations: 10.09 kB / 0.9603 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8531, allocations: 0 / 0.9603 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of Templates: time 0.00289/0.856, allocations: 0.7634 MB / 0.9611 GB, free: 2.477 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches