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.002086/0.002086, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.002305/0.002305, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.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.412/2.412, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8298/0.8313, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001683/0.833, allocations: 0.7075 MB / 1.168 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008663/0.8339, allocations: 0.8453 MB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.834, allocations: 0 / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.834, allocations: 0 / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.608e-05/0.8341, allocations: 7.922 kB / 1.169 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.8342, allocations: 19.92 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.482e-05/0.8343, allocations: 43.91 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.8344, allocations: 23.98 kB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.8345, allocations: 19.91 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.499e-05/0.8346, allocations: 27.86 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.8346, allocations: 4 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.8346, allocations: 4 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.8346, allocations: 11.98 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.8347, allocations: 11.88 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.8348, allocations: 59.78 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8348, allocations: 0 / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8348, allocations: 0 / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.8348, allocations: 4 kB / 1.169 GB, free: 2.008 MB / 0.8887 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.000476/0.8353, allocations: 355.2 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.8353, allocations: 8.031 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.8354, allocations: 8.844 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.8355, allocations: 172.4 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.8355, allocations: 4.375 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.8355, allocations: 384 / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.8357, allocations: 73.59 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.8357, allocations: 0 / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.8357, allocations: 0 / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.8357, allocations: 0 / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001941/0.8359, allocations: 59.88 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.8364, allocations: 290.5 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.8365, allocations: 66.55 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.638e-05/0.8367, allocations: 28.91 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.8367, allocations: 0 / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.8367, allocations: 38.5 kB / 1.17 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.8367, allocations: 3.938 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0003752/0.8371, allocations: 105.6 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.8371, allocations: 55.41 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.8372, allocations: 105.8 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.8372, allocations: 25.7 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.279e-05/0.8373, allocations: 88.05 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.8373, allocations: 15.83 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.8374, allocations: 17.72 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8375, allocations: 322.8 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/0.8376, allocations: 23.97 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.282e-05/0.8377, allocations: 27.97 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.8379, allocations: 57.02 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8379, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002197/0.8381, allocations: 89.56 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.8381, allocations: 4 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.8381, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.8381, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.8382, allocations: 11.98 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.8383, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.167e-05/0.8383, allocations: 11.98 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.8383, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 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 7.757e-05/0.8384, allocations: 125.7 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.8385, allocations: 7.938 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.8385, allocations: 3.906 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8385, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.8385, allocations: 4 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.8385, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.8387, allocations: 181.6 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8387, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.8388, allocations: 11.98 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8388, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.8388, allocations: 12 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8388, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8388, allocations: 3.938 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.8391, allocations: 183.3 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.8392, allocations: 77.11 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.8392, allocations: 0 / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.8393, allocations: 15.98 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.8393, allocations: 11.92 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.8394, allocations: 4 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.443e-05/0.8394, allocations: 87.27 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8394, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002166/0.8396, allocations: 11.94 kB / 1.172 GB, free: 14.93 MB / 0.9044 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.0001092/0.8397, allocations: 99.25 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.84, allocations: 55.95 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.84, allocations: 0 / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.8401, allocations: 35.91 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.8404, allocations: 4 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.8407, allocations: 167 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.841, allocations: 0.6807 MB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.841, allocations: 15.42 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.841, allocations: 0 / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of Templates: time 0.001987/0.843, allocations: 0.8133 MB / 1.174 GB, free: 13.01 MB / 0.9044 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/jenkins1/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