Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00834/0.008341, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001333/0.001333, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.795/2.795, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 64.05 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.477/0.4783, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002666/0.4811, allocations: 0.7003 MB / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.4825, allocations: 0.8471 MB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.4826, allocations: 0 / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.169e-05/0.4827, allocations: 7.938 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.4828, allocations: 7.922 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.483, allocations: 19.98 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.4831, allocations: 47.89 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.4832, allocations: 12 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.4833, allocations: 19.92 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.4834, allocations: 23.91 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.4835, allocations: 11.98 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.4835, allocations: 4 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.4835, allocations: 11.94 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.261e-05/0.4836, allocations: 19.92 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.4837, allocations: 55.66 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4837, allocations: 3.938 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4837, allocations: 0 / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.4837, allocations: 0 / 1.168 GB, free: 4.98 MB / 0.92 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.0007162/0.4845, allocations: 359.3 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.4845, allocations: 12.03 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.4846, allocations: 4.938 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.4847, allocations: 172.3 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.4848, allocations: 384 / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.4848, allocations: 384 / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.485, allocations: 69.59 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.485, allocations: 0 / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.4851, allocations: 4 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.4851, allocations: 3.938 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.4853, allocations: 55.94 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.4858, allocations: 292.8 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.486, allocations: 62.53 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.871e-05/0.4861, allocations: 32.86 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.4862, allocations: 4 kB / 1.169 GB, free: 3.777 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.4862, allocations: 30.56 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.4862, allocations: 0 / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004445/0.4866, allocations: 109.6 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.4867, allocations: 51.41 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/0.4868, allocations: 109.8 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.4868, allocations: 29.7 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.4869, allocations: 88.09 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.4869, allocations: 7.953 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.487, allocations: 17.7 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4871, allocations: 326.7 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.4872, allocations: 23.97 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.4873, allocations: 28.11 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.4875, allocations: 52.89 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4875, allocations: 0 / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003179/0.4878, allocations: 89.59 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4878, allocations: 6.031 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4878, allocations: 4 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4879, allocations: 4 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.488, allocations: 19.92 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.488, allocations: 0 / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.987e-05/0.4881, allocations: 7.984 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.4881, allocations: 0 / 1.17 GB, free: 2.723 MB / 0.92 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 8.038e-05/0.4882, allocations: 121.7 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.4882, allocations: 0 / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.4882, allocations: 15.84 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4882, allocations: 0 / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4883, allocations: 7.984 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.4883, allocations: 0 / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.4884, allocations: 169.6 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4885, allocations: 4 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-05/0.4885, allocations: 7.984 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4886, allocations: 4 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.4886, allocations: 3.984 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4886, allocations: 0 / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4886, allocations: 0 / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.4889, allocations: 191.3 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.489, allocations: 81.11 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.489, allocations: 0 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.4891, allocations: 11.98 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.4892, allocations: 7.984 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.4892, allocations: 0 / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.984e-05/0.4893, allocations: 87.28 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4893, allocations: 4 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002211/0.4895, allocations: 15.89 kB / 1.171 GB, free: 1.902 MB / 0.92 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.0002483/0.4898, allocations: 103.2 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.49, allocations: 51.95 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.49, allocations: 0 / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.4902, allocations: 43.84 kB / 1.171 GB, free: 1.699 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.4905, allocations: 4 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.4909, allocations: 129.4 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.4912, allocations: 0.6807 MB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.859e-05/0.4912, allocations: 8.281 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.4913, allocations: 19.42 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of SimCode: time 3.01e-07/0.4913, allocations: 0 / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of Templates: time 0.003418/0.4947, allocations: 0.8865 MB / 1.173 GB, free: 15.92 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches