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.005897/0.005901, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001267/0.001267, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.483/1.483, allocations: 222.9 MB / 240.5 MB, free: 4.527 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.374/2.374, allocations: 390.2 MB / 0.6649 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.89 kB / 0.8125 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6724, allocations: 140.3 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001825/0.6743, allocations: 0.7679 MB / 0.9503 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007541/0.675, allocations: 0.8336 MB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.6751, allocations: 0.9688 kB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.6751, allocations: 3.938 kB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.312e-05/0.6752, allocations: 5.266 kB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.6754, allocations: 16.55 kB / 0.9512 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.247e-05/0.6754, allocations: 49.5 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.6756, allocations: 11.19 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.6756, allocations: 18.16 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.244e-05/0.6757, allocations: 34.97 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.6757, allocations: 2.531 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.6758, allocations: 2.594 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.6758, allocations: 1.312 kB / 0.9513 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.6758, allocations: 31.33 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.243e-05/0.6759, allocations: 30.8 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6759, allocations: 0 / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6759, allocations: 1.281 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.6759, allocations: 0 / 0.9514 GB, free: 7.809 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.000477/0.6764, allocations: 360.3 kB / 0.9517 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.6764, allocations: 8.75 kB / 0.9517 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.6765, allocations: 3.938 kB / 0.9517 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.6766, allocations: 166.9 kB / 0.9519 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.6766, allocations: 5.594 kB / 0.9519 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.6766, allocations: 6.922 kB / 0.9519 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.6768, allocations: 67.66 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.6768, allocations: 3.938 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.6769, allocations: 9.438 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.6769, allocations: 5.312 kB / 0.952 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.6771, allocations: 46.52 kB / 0.952 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.6775, allocations: 289.8 kB / 0.9523 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.6777, allocations: 69.53 kB / 0.9524 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.6778, allocations: 29.72 kB / 0.9524 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.6778, allocations: 3.984 kB / 0.9524 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.6778, allocations: 35.94 kB / 0.9524 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.6778, allocations: 0 / 0.9524 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004004/0.6782, allocations: 108.8 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.6783, allocations: 52.91 kB / 0.9526 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.062e-05/0.6783, allocations: 106.3 kB / 0.9527 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.6783, allocations: 35.7 kB / 0.9527 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.6784, allocations: 86.08 kB / 0.9528 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.6784, allocations: 19.69 kB / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.6784, allocations: 17.92 kB / 0.9528 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.6785, allocations: 320.1 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.884e-05/0.6786, allocations: 24.59 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.751e-05/0.6787, allocations: 25.78 kB / 0.9532 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.6789, allocations: 49.3 kB / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.6789, allocations: 0 / 0.9532 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002167/0.6791, allocations: 85.61 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6791, allocations: 4.812 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.6791, allocations: 0 / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.6791, allocations: 1.062 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.6793, allocations: 15.05 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.6793, allocations: 5.531 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.6794, allocations: 7.609 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.6794, allocations: 1.188 kB / 0.9533 GB, free: 5.855 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 (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.001e-05/0.6794, allocations: 116.7 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.6795, allocations: 5.844 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.6795, allocations: 12.86 kB / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.6795, allocations: 1.281 kB / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6795, allocations: 0 / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.6795, allocations: 4 kB / 0.9535 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.6797, allocations: 175.8 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.6797, allocations: 0.9688 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.934e-05/0.6798, allocations: 11.55 kB / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6798, allocations: 0 / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.6798, allocations: 1.156 kB / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6798, allocations: 0 / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6798, allocations: 1.031 kB / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.6801, allocations: 187.8 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.6801, allocations: 86.08 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.6801, allocations: 1.25 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.907e-05/0.6802, allocations: 15.64 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.6803, allocations: 8.109 kB / 0.9539 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.6803, allocations: 2.656 kB / 0.9539 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.6803, allocations: 96.69 kB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6803, allocations: 0 / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002191/0.6806, allocations: 10.72 kB / 0.954 GB, free: 5.117 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 (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.0001057/0.6807, allocations: 110 kB / 0.9542 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.6809, allocations: 49.73 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6809, allocations: 0.9688 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.681, allocations: 32.66 kB / 0.9542 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.6813, allocations: 12.31 kB / 0.9542 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.6816, allocations: 166.2 kB / 0.9544 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.6818, allocations: 0.6802 MB / 0.9551 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.6818, allocations: 14.27 kB / 0.9551 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6818, allocations: 1.062 kB / 0.9551 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of Templates: time 0.001861/0.6837, allocations: 0.8 MB / 0.9559 GB, free: 3.695 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/jenkins1/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