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.001845/0.001845, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002488/0.002488, allocations: 193.9 kB / 16.25 MB, free: 6.629 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.599/1.599, allocations: 222.9 MB / 239.9 MB, free: 4.438 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 3.038/3.038, allocations: 437 MB / 0.7101 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 71.89 kB / 0.8688 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8678/0.8698, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002385/0.8723, allocations: 0.7774 MB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.8735, allocations: 0.8234 MB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.8736, allocations: 0 / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.096e-05/0.8736, allocations: 3.984 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.887e-05/0.8737, allocations: 3.938 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.8739, allocations: 31.97 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.169e-05/0.874, allocations: 43.8 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.8742, allocations: 19.98 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.039e-05/0.8743, allocations: 19.98 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.8743, allocations: 23.84 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.8744, allocations: 4 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.8744, allocations: 4 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.8744, allocations: 11.98 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.013e-05/0.8745, allocations: 19.88 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.8746, allocations: 47.84 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8746, allocations: 3.938 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8746, allocations: 4 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.8746, allocations: 0 / 1.019 GB, free: 0.8438 MB / 0.7637 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.0006624/0.8753, allocations: 361.3 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.8754, allocations: 8.031 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.8754, allocations: 4.938 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.8756, allocations: 168.3 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.8756, allocations: 8.375 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.8757, allocations: 384 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.8759, allocations: 73.78 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.8759, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.8759, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.8759, allocations: 0 / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.8762, allocations: 55.89 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.8767, allocations: 288.8 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.877, allocations: 62.55 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.8771, allocations: 32.91 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.8771, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.8772, allocations: 38.5 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 4.559e-06/0.8772, allocations: 4 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004353/0.8776, allocations: 109.5 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.8777, allocations: 55.41 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.8778, allocations: 105.8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.8779, allocations: 25.7 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.878, allocations: 88.14 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.878, allocations: 15.73 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.8781, allocations: 21.72 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.8783, allocations: 314.8 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.8784, allocations: 27.97 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.907e-05/0.8785, allocations: 31.91 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.8787, allocations: 49.09 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8787, allocations: 4 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002427/0.879, allocations: 81.64 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.879, allocations: 7.938 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.879, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.879, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.8792, allocations: 11.98 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.8792, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.8793, allocations: 15.98 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.8793, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 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 0.0001498/0.8795, allocations: 121.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.8795, allocations: 3.906 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.8795, allocations: 7.906 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.8795, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.8796, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8796, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.8798, allocations: 173.6 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8798, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.105e-05/0.8799, allocations: 15.98 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.8799, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.8799, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8799, allocations: 320 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.88, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.8803, allocations: 183.4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.8804, allocations: 85.02 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.8804, allocations: 7.938 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.8805, allocations: 7.984 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.8806, allocations: 11.98 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.8806, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.406e-05/0.8807, allocations: 91.25 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8807, allocations: 4 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002148/0.8809, allocations: 4 kB / 1.021 GB, free: 13.77 MB / 0.7794 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.0001782/0.8811, allocations: 111.7 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.8814, allocations: 55.95 kB / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8814, allocations: 0 / 1.021 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.8815, allocations: 31.91 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.8819, allocations: 13.53 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.8823, allocations: 139.8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.8827, allocations: 0.6807 MB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.986e-05/0.8828, allocations: 7.984 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.8828, allocations: 11.44 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8828, allocations: 4 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.003552/0.8864, allocations: 0.8017 MB / 1.023 GB, free: 11.86 MB / 0.7794 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=400 -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