Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001437/0.001437, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001279/0.001279, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.48/2.48, allocations: 461.9 MB / 0.7354 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 68.08 kB / 1.055 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7142/0.7156, allocations: 157.4 MB / 1.208 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002101/0.7178, allocations: 0.7057 MB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.7189, allocations: 0.8312 MB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.719, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.719, allocations: 3.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.755e-05/0.7191, allocations: 11.92 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.7193, allocations: 19.92 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.985e-05/0.7194, allocations: 47.84 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.7195, allocations: 19.98 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.349e-05/0.7196, allocations: 15.98 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.7197, allocations: 27.84 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.7197, allocations: 7.938 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.7197, allocations: 4 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.7198, allocations: 11.98 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.7198, allocations: 23.86 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.7199, allocations: 43.86 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7199, allocations: 4 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7199, allocations: 0 / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.7199, allocations: 0 / 1.21 GB, free: 11.78 MB / 0.9356 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.0005415/0.7205, allocations: 355.2 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.7205, allocations: 8.031 kB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.7206, allocations: 8.844 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.7207, allocations: 172.3 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.7208, allocations: 384 / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.7208, allocations: 8.375 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.721, allocations: 69.59 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.721, allocations: 0 / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.721, allocations: 0 / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.721, allocations: 4 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.7212, allocations: 47.94 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.7217, allocations: 294.5 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.7219, allocations: 66.53 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.927e-05/0.722, allocations: 28.86 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.722, allocations: 4 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.722, allocations: 38.56 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.722, allocations: 0 / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004002/0.7224, allocations: 113.5 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.7225, allocations: 51.41 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.997e-05/0.7226, allocations: 113.8 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.7226, allocations: 25.7 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.7227, allocations: 92.05 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.7227, allocations: 11.91 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.7227, allocations: 25.7 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.7228, allocations: 318.8 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.79e-05/0.7229, allocations: 23.97 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.474e-05/0.723, allocations: 19.98 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.7232, allocations: 53.09 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7232, allocations: 0 / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002353/0.7235, allocations: 97.47 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.7235, allocations: 4 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7235, allocations: 4 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.7235, allocations: 0 / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.7237, allocations: 15.92 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.7237, allocations: 0 / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.7238, allocations: 7.984 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.7238, allocations: 0 / 1.212 GB, free: 9.52 MB / 0.9356 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.396e-05/0.7239, allocations: 121.8 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.7239, allocations: 0 / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.7239, allocations: 11.91 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7239, allocations: 0 / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.7239, allocations: 0 / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.7239, allocations: 3.984 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.7241, allocations: 173.6 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7241, allocations: 0 / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.039e-05/0.7242, allocations: 15.92 kB / 1.212 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.7242, allocations: 7.938 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.7242, allocations: 0 / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7243, allocations: 3.984 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7243, allocations: 0 / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.7246, allocations: 179.4 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.7246, allocations: 85.09 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.7247, allocations: 4 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.7248, allocations: 11.98 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.7248, allocations: 8 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.7248, allocations: 3.984 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.332e-05/0.7249, allocations: 87.28 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7249, allocations: 0 / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002235/0.7251, allocations: 7.938 kB / 1.213 GB, free: 8.703 MB / 0.9356 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.0001515/0.7253, allocations: 103.2 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.7256, allocations: 59.94 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7256, allocations: 0 / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.7257, allocations: 31.97 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.726, allocations: 4 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.7264, allocations: 170.9 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.7267, allocations: 0.6885 MB / 1.214 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.7267, allocations: 11.44 kB / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.7267, allocations: 0 / 1.214 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of Templates: time 0.00226/0.729, allocations: 0.8161 MB / 1.215 GB, free: 6.766 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches