Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001893/0.001893, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002328/0.002328, allocations: 167.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.52/1.52, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.7/2.7, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.055e-05/3.243e-05, allocations: 4.812 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002327/0.00236, allocations: 0.7962 MB / 0.9518 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.003905, allocations: 0.9171 MB / 0.9527 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.004005, allocations: 3.938 kB / 0.9527 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.004153, allocations: 7.875 kB / 0.9527 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/0.004201, allocations: 19.86 kB / 0.9527 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.004419, allocations: 23.97 kB / 0.9528 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.00456, allocations: 83.7 kB / 0.9528 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.004696, allocations: 19.98 kB / 0.9529 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.004877, allocations: 55.77 kB / 0.9529 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.157e-05/0.004959, allocations: 23.91 kB / 0.9529 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.004981, allocations: 4 kB / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.177e-05/0.005033, allocations: 8 kB / 0.953 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.005062, allocations: 19.92 kB / 0.953 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.005102, allocations: 11.94 kB / 0.953 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.00528, allocations: 87.72 kB / 0.9531 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.005285, allocations: 3.984 kB / 0.9531 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.92e-07/0.005286, allocations: 4 kB / 0.9531 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.00529, allocations: 0 / 0.9531 GB, free: 9.457 MB / 0.8575 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.0005914/0.005881, allocations: 309.9 kB / 0.9534 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.005922, allocations: 12.03 kB / 0.9534 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.006083, allocations: 20.88 kB / 0.9534 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.006342, allocations: 141.6 kB / 0.9535 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.006357, allocations: 4.375 kB / 0.9535 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.00637, allocations: 8.375 kB / 0.9535 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.006538, allocations: 62.23 kB / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.006549, allocations: 192 / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.006559, allocations: 384 / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.006564, allocations: 384 / 0.9536 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.006697, allocations: 43.91 kB / 0.9536 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.007309, allocations: 252.3 kB / 0.9539 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.007491, allocations: 50.59 kB / 0.9539 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.00755, allocations: 24.94 kB / 0.954 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.007567, allocations: 0 / 0.954 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.007606, allocations: 34.56 kB / 0.954 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.007607, allocations: 0 / 0.954 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0003064/0.007913, allocations: 73.62 kB / 0.9541 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.007964, allocations: 55.39 kB / 0.9541 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.0081, allocations: 131.7 kB / 0.9542 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.008128, allocations: 33.7 kB / 0.9543 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.008207, allocations: 96.09 kB / 0.9544 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.008226, allocations: 19.75 kB / 0.9544 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.008269, allocations: 17.72 kB / 0.9544 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.008482, allocations: 322.8 kB / 0.9547 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.008536, allocations: 12 kB / 0.9547 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.028e-05/0.008586, allocations: 15.98 kB / 0.9547 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.235e-05/0.008679, allocations: 33.11 kB / 0.9548 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.00868, allocations: 0 / 0.9548 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001594/0.008839, allocations: 77.56 kB / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.008854, allocations: 4 kB / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.008858, allocations: 0 / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.008875, allocations: 0 / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.008945, allocations: 7.938 kB / 0.9549 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.008949, allocations: 0 / 0.9549 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.009025, allocations: 11.98 kB / 0.9549 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.009032, allocations: 0 / 0.9549 GB, free: 7.445 MB / 0.8575 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 0.0001071/0.00914, allocations: 113.8 kB / 0.955 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.009174, allocations: 15.89 kB / 0.955 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.009209, allocations: 16.33 kB / 0.955 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.00921, allocations: 0 / 0.955 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.009215, allocations: 0 / 0.955 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.009218, allocations: 0 / 0.955 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.009385, allocations: 121.3 kB / 0.9551 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.009386, allocations: 0 / 0.9551 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.009429, allocations: 7.938 kB / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.009431, allocations: 0 / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.009442, allocations: 4 kB / 0.9551 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.009443, allocations: 0 / 0.9551 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.009444, allocations: 4 kB / 0.9551 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.009672, allocations: 164.1 kB / 0.9553 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.009689, allocations: 11.88 kB / 0.9553 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.009708, allocations: 0 / 0.9553 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.009816, allocations: 15.92 kB / 0.9553 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.009866, allocations: 11.98 kB / 0.9553 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.009871, allocations: 0 / 0.9553 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.054e-05/0.009951, allocations: 105 kB / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009952, allocations: 0 / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002286/0.01018, allocations: 11.94 kB / 0.9554 GB, free: 6.797 MB / 0.8575 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 0.0001427/0.01032, allocations: 103.2 kB / 0.9555 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.01049, allocations: 27.98 kB / 0.9556 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0105, allocations: 0 / 0.9556 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.069e-05/0.01057, allocations: 23.92 kB / 0.9556 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.01084, allocations: 8 kB / 0.9556 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.01124, allocations: 164.8 kB / 0.9558 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.294e-05/0.01132, allocations: 77.25 kB / 0.9558 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.01136, allocations: 8.266 kB / 0.9558 GB, free: 6.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.0114, allocations: 16.48 kB / 0.9559 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.0114, allocations: 0 / 0.9559 GB, free: 6.32 MB / 0.8575 GB Notification: Performance of Templates: time 0.00485/0.01625, allocations: 0.911 MB / 0.9567 GB, free: 5.434 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.081398494541645]