Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008064/0.0008064, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008055/0.0008055, allocations: 177.9 kB / 23.22 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8855/0.8855, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.792/1.792, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gre.u|gre.t|gre.y|greHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 0.9823 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.869e-05, allocations: 5.375 kB / 0.9823 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001419/0.001448, allocations: 0.8 MB / 0.983 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008698/0.002317, allocations: 0.9093 MB / 0.9839 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.002393, allocations: 7.938 kB / 0.9839 GB, free: 288 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.002497, allocations: 7.875 kB / 0.984 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.145e-05/0.002528, allocations: 15.86 kB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.002709, allocations: 31.91 kB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.508e-05/0.002804, allocations: 71.72 kB / 0.9841 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.002908, allocations: 31.91 kB / 0.9841 GB, free: 128 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.003036, allocations: 43.91 kB / 0.9841 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.003091, allocations: 23.91 kB / 0.9842 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.003108, allocations: 8 kB / 0.9842 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.099e-05/0.003149, allocations: 4 kB / 0.9842 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.003164, allocations: 11.98 kB / 0.9842 GB, free: 36 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.157e-05/0.003185, allocations: 19.92 kB / 0.9842 GB, free: 16 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.003327, allocations: 87.72 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003329, allocations: 3.938 kB / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.00333, allocations: 0 / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.003335, allocations: 0 / 0.9843 GB, free: 15.93 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003812/0.003716, allocations: 321.9 kB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.003749, allocations: 15.91 kB / 0.9846 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.003859, allocations: 12.89 kB / 0.9846 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.004039, allocations: 145.6 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.004048, allocations: 384 / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.004057, allocations: 4.375 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.004175, allocations: 74.16 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.004181, allocations: 192 / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.004189, allocations: 384 / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.004193, allocations: 384 / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.134e-05/0.004265, allocations: 35.92 kB / 0.9849 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.00458, allocations: 252.4 kB / 0.9851 GB, free: 14.99 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.004681, allocations: 46.55 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.201e-05/0.004713, allocations: 28.86 kB / 0.9852 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.004726, allocations: 0 / 0.9852 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.004744, allocations: 34.56 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.004745, allocations: 0 / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0001684/0.004913, allocations: 77.78 kB / 0.9853 GB, free: 14.78 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.004939, allocations: 51.41 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.005016, allocations: 143.5 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.005027, allocations: 25.7 kB / 0.9855 GB, free: 14.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.005078, allocations: 100.1 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.005091, allocations: 7.953 kB / 0.9856 GB, free: 14.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.005119, allocations: 21.72 kB / 0.9856 GB, free: 14.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.005192, allocations: 318.8 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.305e-05/0.005225, allocations: 12 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.55e-05/0.005251, allocations: 15.98 kB / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.186e-05/0.005302, allocations: 28.84 kB / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.005304, allocations: 0 / 0.986 GB, free: 14.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.597e-05/0.00539, allocations: 73.78 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.005403, allocations: 8 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.005407, allocations: 4.047 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.005418, allocations: 3.984 kB / 0.9861 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.005467, allocations: 4 kB / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.005471, allocations: 0 / 0.9861 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.005506, allocations: 11.98 kB / 0.9861 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.005513, allocations: 4 kB / 0.9861 GB, free: 13.91 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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 6.424e-05/0.005577, allocations: 125.7 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.005593, allocations: 7.891 kB / 0.9862 GB, free: 13.77 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.005614, allocations: 12.34 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.005616, allocations: 4 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.005619, allocations: 0 / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.005621, allocations: 0 / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.599e-05/0.005717, allocations: 121.3 kB / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.005719, allocations: 0 / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.00574, allocations: 11.88 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.005742, allocations: 0 / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.005749, allocations: 3.984 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.00575, allocations: 4 kB / 0.9864 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005751, allocations: 0 / 0.9864 GB, free: 13.58 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.005861, allocations: 159.5 kB / 0.9865 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.005873, allocations: 11.89 kB / 0.9865 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.005885, allocations: 0 / 0.9865 GB, free: 13.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.941e-05/0.005935, allocations: 7.984 kB / 0.9865 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.005974, allocations: 11.98 kB / 0.9866 GB, free: 13.38 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.005978, allocations: 4 kB / 0.9866 GB, free: 13.38 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.326e-05/0.006022, allocations: 101.5 kB / 0.9867 GB, free: 13.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.006022, allocations: 0 / 0.9867 GB, free: 13.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001458/0.006167, allocations: 12 kB / 0.9867 GB, free: 13.27 MB / 0.948 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 9.261e-05/0.00626, allocations: 103.2 kB / 0.9868 GB, free: 13.15 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 9.353e-05/0.006354, allocations: 35.92 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006355, allocations: 0 / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.89e-05/0.006384, allocations: 15.98 kB / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.006565, allocations: 11.94 kB / 0.9868 GB, free: 13.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.006842, allocations: 190.4 kB / 0.987 GB, free: 12.87 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.08e-05/0.006893, allocations: 79.58 kB / 0.9871 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.006929, allocations: 16.48 kB / 0.9871 GB, free: 12.76 MB / 0.948 GB Notification: Performance of SimCode: time 7.12e-07/0.006929, allocations: 0 / 0.9871 GB, free: 12.76 MB / 0.948 GB Notification: Performance of Templates: time 0.001606/0.008535, allocations: 1.01 MB / 0.9881 GB, free: 11.75 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.508560762740672]