Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001252/0.001252, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.434 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.755/2.755, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003405, allocations: 15.98 kB / 0.8154 GB, free: 13.61 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9095/0.9098, allocations: 142.4 MB / 0.9545 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00113/0.911, allocations: 422.7 kB / 0.9549 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.9122, allocations: 0.8258 MB / 0.9557 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.9123, allocations: 0.8125 kB / 0.9557 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.9124, allocations: 0 / 0.9557 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.9125, allocations: 5.031 kB / 0.9557 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.9127, allocations: 16.55 kB / 0.9557 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.9128, allocations: 34.77 kB / 0.9557 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.9129, allocations: 13.58 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.419e-05/0.913, allocations: 21.31 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.823e-05/0.9131, allocations: 22.55 kB / 0.9558 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.9132, allocations: 6.062 kB / 0.9558 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.6e-05/0.9132, allocations: 2.281 kB / 0.9558 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.9132, allocations: 13.3 kB / 0.9558 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.9133, allocations: 27.17 kB / 0.9558 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.784e-05/0.9134, allocations: 39.25 kB / 0.9559 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.9134, allocations: 0 / 0.9559 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9134, allocations: 4 kB / 0.9559 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.9134, allocations: 0 / 0.9559 GB, free: 6.613 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.0006508/0.9141, allocations: 353.7 kB / 0.9562 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.9141, allocations: 8.625 kB / 0.9562 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.9142, allocations: 6.719 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.9144, allocations: 173.2 kB / 0.9564 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/0.9144, allocations: 2.188 kB / 0.9564 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.9145, allocations: 5.344 kB / 0.9564 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.9148, allocations: 73.56 kB / 0.9565 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9148, allocations: 0 / 0.9565 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.9148, allocations: 0 / 0.9565 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.9148, allocations: 4.922 kB / 0.9565 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.9151, allocations: 61.11 kB / 0.9565 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/0.9158, allocations: 295.4 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.9161, allocations: 69.02 kB / 0.9569 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.9162, allocations: 37.33 kB / 0.9569 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.9163, allocations: 3.953 kB / 0.9569 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.9163, allocations: 40.03 kB / 0.9569 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.933e-06/0.9163, allocations: 0 / 0.9569 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0006132/0.9169, allocations: 123.3 kB / 0.9571 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.917, allocations: 51.41 kB / 0.9571 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.9171, allocations: 119.5 kB / 0.9572 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.9171, allocations: 25.7 kB / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.9172, allocations: 90 kB / 0.9573 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.9172, allocations: 14.38 kB / 0.9573 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.9172, allocations: 0 / 0.9573 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.9173, allocations: 312.8 kB / 0.9576 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.9175, allocations: 32.22 kB / 0.9577 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.9176, allocations: 41.83 kB / 0.9577 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.9178, allocations: 25.3 kB / 0.9577 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9178, allocations: 0 / 0.9577 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003502/0.9181, allocations: 101.2 kB / 0.9578 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.9182, allocations: 6.359 kB / 0.9578 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.9182, allocations: 0 / 0.9578 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.9182, allocations: 1.188 kB / 0.9578 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.9184, allocations: 17.36 kB / 0.9579 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.9184, allocations: 1.531 kB / 0.9579 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.559e-05/0.9185, allocations: 19.73 kB / 0.9579 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.9185, allocations: 4 kB / 0.9579 GB, free: 4.684 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 (intGreThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.471e-05/0.9186, allocations: 109 kB / 0.958 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.9187, allocations: 1.688 kB / 0.958 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.9187, allocations: 13.33 kB / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.9187, allocations: 1.438 kB / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.9188, allocations: 0 / 0.958 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.9188, allocations: 3.984 kB / 0.958 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.919, allocations: 172.2 kB / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.919, allocations: 0 / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.9191, allocations: 13.61 kB / 0.9582 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.9191, allocations: 1.094 kB / 0.9582 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.9191, allocations: 1.438 kB / 0.9582 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.9191, allocations: 7.938 kB / 0.9582 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.9192, allocations: 3.938 kB / 0.9582 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.9195, allocations: 189 kB / 0.9584 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.9195, allocations: 86.84 kB / 0.9585 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.9196, allocations: 1.75 kB / 0.9585 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.9197, allocations: 11.17 kB / 0.9585 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.9198, allocations: 19.5 kB / 0.9585 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.9198, allocations: 1.812 kB / 0.9585 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.9198, allocations: 80.66 kB / 0.9586 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9198, allocations: 0 / 0.9586 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003354/0.9202, allocations: 12.19 kB / 0.9586 GB, free: 3.969 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 (intGreThr.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.9203, allocations: 103.6 kB / 0.9587 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.9207, allocations: 67.73 kB / 0.9587 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9207, allocations: 3.938 kB / 0.9587 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.9208, allocations: 39.38 kB / 0.9588 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.9213, allocations: 3.219 kB / 0.9588 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.9217, allocations: 140.7 kB / 0.9589 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.9219, allocations: 0.6814 MB / 0.9596 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.581e-05/0.9219, allocations: 6.531 kB / 0.9596 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.922, allocations: 14.8 kB / 0.9596 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of SimCode: time 9.52e-07/0.922, allocations: 0 / 0.9596 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of Templates: time 0.003515/0.9255, allocations: 0.7501 MB / 0.9603 GB, free: 2.582 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches