Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001036/0.001036, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001044/0.001044, allocations: 177 kB / 23.49 MB, free: 1.051 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 1.076/1.076, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.207/2.207, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8782 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.53e-05/1.717e-05, allocations: 5.516 kB / 0.8783 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.001283/0.0013, allocations: 0.8313 MB / 0.8791 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0045/0.0058, allocations: 0.9259 MB / 0.88 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.005949, allocations: 1.094 kB / 0.88 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.006116, allocations: 15.81 kB / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.165e-05/0.006168, allocations: 15.86 kB / 0.88 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.006448, allocations: 35.83 kB / 0.88 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.006626, allocations: 75.78 kB / 0.8801 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.006787, allocations: 24.86 kB / 0.8801 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.007041, allocations: 43.89 kB / 0.8802 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.449e-05/0.007126, allocations: 19.92 kB / 0.8802 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.00715, allocations: 5.031 kB / 0.8802 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.955e-05/0.007209, allocations: 12 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.007235, allocations: 21 kB / 0.8802 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.007271, allocations: 11.94 kB / 0.8802 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.007466, allocations: 59.69 kB / 0.8803 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.007471, allocations: 1.062 kB / 0.8803 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.342e-06/0.007472, allocations: 0 / 0.8803 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.007479, allocations: 4 kB / 0.8803 GB, free: 4.477 MB / 0.8386 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.00056/0.008038, allocations: 405.4 kB / 0.8807 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.008092, allocations: 8.031 kB / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.008282, allocations: 25.53 kB / 0.8807 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.008541, allocations: 150.3 kB / 0.8809 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.008565, allocations: 4.375 kB / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.008581, allocations: 4.375 kB / 0.8809 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.008757, allocations: 66.88 kB / 0.8809 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.008766, allocations: 192 / 0.8809 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.00878, allocations: 384 / 0.8809 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.008795, allocations: 8.359 kB / 0.8809 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.3e-05/0.008858, allocations: 15.94 kB / 0.881 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.009353, allocations: 304.5 kB / 0.8812 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.009485, allocations: 39.64 kB / 0.8813 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.009527, allocations: 20.94 kB / 0.8813 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.009548, allocations: 8.031 kB / 0.8813 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.009577, allocations: 33.39 kB / 0.8813 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.009579, allocations: 0.5938 kB / 0.8813 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0002241/0.009803, allocations: 53.73 kB / 0.8814 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.009845, allocations: 52.78 kB / 0.8814 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.009983, allocations: 185.9 kB / 0.8816 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.01001, allocations: 33.69 kB / 0.8817 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.01009, allocations: 144.2 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.01011, allocations: 3.953 kB / 0.8818 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.01016, allocations: 27.36 kB / 0.8818 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.01031, allocations: 496.1 kB / 0.8823 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.01034, allocations: 12.55 kB / 0.8823 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.055e-05/0.01036, allocations: 9.094 kB / 0.8823 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.67e-05/0.01041, allocations: 11.69 kB / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01041, allocations: 0 / 0.8823 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.707e-05/0.01051, allocations: 57.58 kB / 0.8824 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.01053, allocations: 10.03 kB / 0.8824 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01053, allocations: 0 / 0.8824 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01055, allocations: 8 kB / 0.8824 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.556e-05/0.01064, allocations: 3.984 kB / 0.8824 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.01064, allocations: 0 / 0.8824 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.01067, allocations: 7.938 kB / 0.8824 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.01068, allocations: 8 kB / 0.8824 GB, free: 2.109 MB / 0.8386 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 8.635e-05/0.01077, allocations: 152.6 kB / 0.8826 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.01079, allocations: 15.88 kB / 0.8826 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.01083, allocations: 16.34 kB / 0.8826 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01083, allocations: 0 / 0.8826 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.01084, allocations: 0 / 0.8826 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01084, allocations: 0 / 0.8826 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.01097, allocations: 132.6 kB / 0.8827 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.01097, allocations: 0 / 0.8827 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.01101, allocations: 4 kB / 0.8827 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01101, allocations: 3.938 kB / 0.8827 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.01102, allocations: 0 / 0.8827 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01102, allocations: 0 / 0.8827 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.01103, allocations: 3.938 kB / 0.8827 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.01116, allocations: 212.1 kB / 0.8829 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.01119, allocations: 7.891 kB / 0.8829 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.01121, allocations: 8 kB / 0.883 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.644e-05/0.01126, allocations: 4 kB / 0.883 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.01131, allocations: 7.969 kB / 0.883 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.01132, allocations: 4 kB / 0.883 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.578e-05/0.01138, allocations: 139.2 kB / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01138, allocations: 0 / 0.8831 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001575/0.01154, allocations: 15.94 kB / 0.8831 GB, free: 1.328 MB / 0.8386 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.0001105/0.01165, allocations: 95.25 kB / 0.8832 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.96e-05/0.01175, allocations: 23.67 kB / 0.8832 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01175, allocations: 0 / 0.8832 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.859e-05/0.01178, allocations: 27.61 kB / 0.8833 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.012, allocations: 4.859 kB / 0.8833 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006286/0.01263, allocations: 178 kB / 0.8834 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.976e-05/0.01268, allocations: 59.34 kB / 0.8835 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.646e-05/0.01271, allocations: 8 kB / 0.8835 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.01276, allocations: 16.48 kB / 0.8835 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of SimCode: time 1.693e-06/0.01276, allocations: 0 / 0.8835 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of Templates: time 0.003063/0.01582, allocations: 0.9329 MB / 0.8844 GB, free: 15.95 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.724545008037239]