Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008524/0.0008525, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0008899/0.0008898, allocations: 172.7 kB / 15.95 MB, free: 208 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.495/1.495, allocations: 223.3 MB / 240 MB, free: 5.445 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.611/2.611, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005401/0.0005403, allocations: 11.98 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7778/0.7784, allocations: 142.4 MB / 0.9545 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00125/0.7797, allocations: 422.7 kB / 0.9549 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.7808, allocations: 0.8226 MB / 0.9557 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.7809, allocations: 1.438 kB / 0.9557 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.7809, allocations: 7.938 kB / 0.9557 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.781, allocations: 3.938 kB / 0.9557 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.7812, allocations: 16.86 kB / 0.9557 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.594e-05/0.7813, allocations: 39.19 kB / 0.9557 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.7815, allocations: 16.34 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.096e-05/0.7816, allocations: 15.12 kB / 0.9558 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.7817, allocations: 22.03 kB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.7817, allocations: 2.5 kB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.7817, allocations: 5.406 kB / 0.9558 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.7817, allocations: 5.375 kB / 0.9558 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.7818, allocations: 31.14 kB / 0.9558 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.391e-05/0.7819, allocations: 35.38 kB / 0.9559 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7819, allocations: 0 / 0.9559 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7819, allocations: 0 / 0.9559 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.7819, allocations: 0 / 0.9559 GB, free: 6.617 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.0004454/0.7823, allocations: 358.7 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.7824, allocations: 8.906 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.7824, allocations: 6.188 kB / 0.9562 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.7826, allocations: 174.7 kB / 0.9564 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.7826, allocations: 5.438 kB / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.7826, allocations: 1.375 kB / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.7828, allocations: 69.78 kB / 0.9564 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7828, allocations: 4 kB / 0.9565 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.7828, allocations: 0 / 0.9565 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.7829, allocations: 4.859 kB / 0.9565 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.7831, allocations: 64.59 kB / 0.9565 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.7835, allocations: 290.4 kB / 0.9568 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.7837, allocations: 68.8 kB / 0.9569 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.7838, allocations: 39.53 kB / 0.9569 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.7838, allocations: 3.953 kB / 0.9569 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.7839, allocations: 31.53 kB / 0.9569 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.7839, allocations: 0.875 kB / 0.9569 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003888/0.7843, allocations: 126.7 kB / 0.9571 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.7843, allocations: 56.42 kB / 0.9571 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.13e-05/0.7844, allocations: 106.8 kB / 0.9572 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.7844, allocations: 25.7 kB / 0.9572 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.7844, allocations: 90.11 kB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.7845, allocations: 9.75 kB / 0.9573 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.7845, allocations: 0 / 0.9573 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.7845, allocations: 320.2 kB / 0.9576 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.853e-05/0.7847, allocations: 29.59 kB / 0.9577 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.171e-05/0.7848, allocations: 30 kB / 0.9577 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.894e-05/0.7849, allocations: 29.36 kB / 0.9577 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7849, allocations: 3.938 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002286/0.7851, allocations: 103 kB / 0.9578 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.7851, allocations: 9.484 kB / 0.9578 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.7851, allocations: 4 kB / 0.9578 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.7852, allocations: 0 / 0.9578 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.7853, allocations: 14.86 kB / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.7853, allocations: 0 / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.051e-05/0.7854, allocations: 15.08 kB / 0.9579 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.7854, allocations: 5.781 kB / 0.9579 GB, free: 4.691 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 (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 7.548e-05/0.7855, allocations: 111.6 kB / 0.958 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.7855, allocations: 5.844 kB / 0.958 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.7855, allocations: 9.641 kB / 0.958 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.7855, allocations: 0 / 0.958 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7856, allocations: 0 / 0.958 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.7856, allocations: 5.734 kB / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.7857, allocations: 170.6 kB / 0.9582 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7857, allocations: 0 / 0.9582 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.219e-05/0.7858, allocations: 14.77 kB / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.7858, allocations: 0 / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.7858, allocations: 5.938 kB / 0.9582 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.7859, allocations: 12.19 kB / 0.9582 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7859, allocations: 0 / 0.9582 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.7861, allocations: 194.8 kB / 0.9584 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.7862, allocations: 78.33 kB / 0.9584 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.7862, allocations: 5.469 kB / 0.9585 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.428e-05/0.7863, allocations: 10.27 kB / 0.9585 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.7864, allocations: 15.97 kB / 0.9585 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.7864, allocations: 1.719 kB / 0.9585 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.7864, allocations: 89.73 kB / 0.9586 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7864, allocations: 0 / 0.9586 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002195/0.7867, allocations: 6.625 kB / 0.9586 GB, free: 3.969 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 (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.0001223/0.7868, allocations: 107.9 kB / 0.9587 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.787, allocations: 68.73 kB / 0.9587 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7871, allocations: 0 / 0.9587 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.7872, allocations: 39.38 kB / 0.9588 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.7875, allocations: 6.531 kB / 0.9588 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.7878, allocations: 140.3 kB / 0.9589 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.7879, allocations: 0.6856 MB / 0.9596 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.595e-05/0.788, allocations: 3.406 kB / 0.9596 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.788, allocations: 9.812 kB / 0.9596 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/0.788, allocations: 3.938 kB / 0.9596 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of Templates: time 0.002959/0.791, allocations: 0.7384 MB / 0.9603 GB, free: 2.586 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches