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.001108/0.001108, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001273/0.001273, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9637/0.9637, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.897/1.897, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.723e-06/1.723e-06, allocations: 0 / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.548e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001378/0.001393, allocations: 0.819 MB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009185/0.002312, allocations: 0.9391 MB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.002396, allocations: 7.938 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.002522, allocations: 13.39 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.417e-05/0.002556, allocations: 12.8 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.002719, allocations: 33.77 kB / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.258e-05/0.002812, allocations: 72.98 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.0029, allocations: 25.23 kB / 0.762 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.003015, allocations: 53.25 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.003071, allocations: 19.91 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.003087, allocations: 9.062 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.411e-05/0.003121, allocations: 8 kB / 0.7621 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.003135, allocations: 11.94 kB / 0.7621 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.003154, allocations: 25.38 kB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.28e-05/0.003247, allocations: 51.81 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003249, allocations: 3.938 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003249, allocations: 0 / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003253, allocations: 1.5 kB / 0.7621 GB, free: 4.508 MB / 0.7136 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.0003054/0.003558, allocations: 280.6 kB / 0.7624 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.003586, allocations: 8.031 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.354e-05/0.00368, allocations: 18.17 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.003809, allocations: 145.2 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.003817, allocations: 384 / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.003828, allocations: 4.375 kB / 0.7626 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.179e-05/0.003909, allocations: 66.88 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.003916, allocations: 1.094 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.003922, allocations: 4.375 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.003927, allocations: 1.062 kB / 0.7626 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.592e-05/0.003953, allocations: 19.91 kB / 0.7627 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.004162, allocations: 177.9 kB / 0.7628 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.425e-05/0.004226, allocations: 34.56 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.292e-05/0.004239, allocations: 13.52 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.00425, allocations: 0 / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.004269, allocations: 35.06 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 5.71e-07/0.00427, allocations: 3.938 kB / 0.7629 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 9.907e-05/0.004369, allocations: 46.56 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.004396, allocations: 51.41 kB / 0.763 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.004459, allocations: 131.4 kB / 0.7631 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.004476, allocations: 29.7 kB / 0.7632 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.004513, allocations: 100.8 kB / 0.7633 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.004525, allocations: 3.953 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.00455, allocations: 27.88 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.00462, allocations: 318.8 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.004629, allocations: 0 / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-06/0.004639, allocations: 7.984 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.00466, allocations: 12.86 kB / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.004662, allocations: 0 / 0.7636 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.597e-05/0.004708, allocations: 47.34 kB / 0.7637 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.004718, allocations: 7.938 kB / 0.7637 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.004724, allocations: 3.984 kB / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.004735, allocations: 0 / 0.7637 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.511e-05/0.004771, allocations: 6.875 kB / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.004774, allocations: 0 / 0.7637 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.004798, allocations: 7.953 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.004802, allocations: 0 / 0.7637 GB, free: 2.781 MB / 0.7136 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 5.667e-05/0.004859, allocations: 117.8 kB / 0.7638 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.004873, allocations: 7.938 kB / 0.7638 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.695e-05/0.00489, allocations: 8.344 kB / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.004891, allocations: 2.75 kB / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.004893, allocations: 0 / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.004895, allocations: 0 / 0.7638 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.18e-05/0.004977, allocations: 85.86 kB / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.004977, allocations: 0 / 0.7639 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.227e-05/0.00499, allocations: 7.938 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.00499, allocations: 0 / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-06/0.004994, allocations: 0.7812 kB / 0.7639 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.004996, allocations: 3.938 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004996, allocations: 1.062 kB / 0.7639 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.197e-05/0.005058, allocations: 131.9 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.005068, allocations: 15.92 kB / 0.7641 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.005082, allocations: 4.797 kB / 0.7641 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.00512, allocations: 15.92 kB / 0.7641 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.005149, allocations: 9.547 kB / 0.7641 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.005152, allocations: 3.984 kB / 0.7641 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.8e-05/0.00517, allocations: 22.25 kB / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.00517, allocations: 0 / 0.7641 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001193/0.005289, allocations: 13.28 kB / 0.7641 GB, free: 2.297 MB / 0.7136 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 6.764e-05/0.005357, allocations: 84.3 kB / 0.7642 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.191e-05/0.005409, allocations: 21.5 kB / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.005411, allocations: 0 / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.005427, allocations: 9.703 kB / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.005546, allocations: 10.12 kB / 0.7642 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000331/0.005877, allocations: 187.5 kB / 0.7644 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.974e-05/0.005907, allocations: 55.36 kB / 0.7645 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.00593, allocations: 7.984 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.005981, allocations: 55.38 kB / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of SimCode: time 4.3e-07/0.005981, allocations: 0 / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.002237/0.008218, allocations: 0.9734 MB / 0.7655 GB, free: 0.8906 MB / 0.7136 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.023026925045997]