Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.001323/0.001323, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001057/0.001057, allocations: 169 kB / 23.02 MB, free: 1.551 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.9463/0.9463, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.11/2.11, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.979e-06/4.979e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.946e-05/5.444e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.002201/0.002255, allocations: 0.719 MB / 0.8789 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.003395, allocations: 0.8802 MB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.003442, allocations: 0 / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/0.003482, allocations: 5.906 kB / 0.8798 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.003584, allocations: 5.734 kB / 0.8798 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.00377, allocations: 24.92 kB / 0.8798 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.00387, allocations: 48.78 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.003999, allocations: 15.92 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.0041, allocations: 25 kB / 0.8799 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.074e-05/0.004161, allocations: 19.92 kB / 0.8799 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.004189, allocations: 4 kB / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.004203, allocations: 4.594 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.004228, allocations: 12.78 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.004258, allocations: 12 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.004399, allocations: 39.81 kB / 0.88 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.004404, allocations: 1.156 kB / 0.88 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.783e-06/0.004406, allocations: 0 / 0.88 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.004412, allocations: 0 / 0.88 GB, free: 4.535 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000507/0.004919, allocations: 385.3 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.004964, allocations: 8.031 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.005024, allocations: 6.031 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.005172, allocations: 116.6 kB / 0.8805 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.005201, allocations: 4.375 kB / 0.8805 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.005216, allocations: 5.031 kB / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.005404, allocations: 67.8 kB / 0.8805 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.005415, allocations: 3.938 kB / 0.8805 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.005428, allocations: 0.8438 kB / 0.8805 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.005436, allocations: 4 kB / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.05e-05/0.005486, allocations: 23.55 kB / 0.8806 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.005898, allocations: 271.8 kB / 0.8808 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.006015, allocations: 54.92 kB / 0.8809 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.006048, allocations: 19.75 kB / 0.8809 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.006063, allocations: 0 / 0.8809 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.006093, allocations: 41.33 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.006095, allocations: 0 / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002194/0.006314, allocations: 58.27 kB / 0.881 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.006355, allocations: 51.41 kB / 0.881 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.006449, allocations: 166.5 kB / 0.8812 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003538/0.006803, allocations: 25.7 kB / 0.8812 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.006867, allocations: 143.5 kB / 0.8814 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.006892, allocations: 12.88 kB / 0.8814 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.006929, allocations: 19.38 kB / 0.8814 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.007059, allocations: 0.4884 MB / 0.8819 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-05/0.00709, allocations: 9.531 kB / 0.8819 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.007109, allocations: 7.938 kB / 0.8819 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.168e-05/0.007161, allocations: 23.67 kB / 0.8819 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.007164, allocations: 7.938 kB / 0.8819 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000102/0.007266, allocations: 49.69 kB / 0.882 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.007283, allocations: 4 kB / 0.882 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.007289, allocations: 4 kB / 0.882 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.007307, allocations: 0 / 0.882 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.007421, allocations: 7.984 kB / 0.882 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.007427, allocations: 0 / 0.882 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.007461, allocations: 11.95 kB / 0.882 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.007469, allocations: 11.92 kB / 0.882 GB, free: 2.258 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: 2 (reaToInt.y,intGreEquThr.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.486e-05/0.007554, allocations: 160.5 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.007573, allocations: 8.328 kB / 0.8822 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.007603, allocations: 8 kB / 0.8822 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.007607, allocations: 3.984 kB / 0.8822 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.007612, allocations: 0 / 0.8822 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.007616, allocations: 0 / 0.8822 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.007737, allocations: 120.6 kB / 0.8823 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.007742, allocations: 7.938 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.00779, allocations: 11.92 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.007793, allocations: 0 / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.007802, allocations: 0 / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.007805, allocations: 4 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.007806, allocations: 4.312 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.007962, allocations: 207.8 kB / 0.8825 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.007975, allocations: 11.94 kB / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.007988, allocations: 0 / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.36e-05/0.008032, allocations: 4 kB / 0.8825 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.008092, allocations: 11.97 kB / 0.8825 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.008096, allocations: 4 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.97e-05/0.008156, allocations: 131.2 kB / 0.8827 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008156, allocations: 0 / 0.8827 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001489/0.008305, allocations: 8 kB / 0.8827 GB, free: 1.5 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 (intGreEquThr.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 (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.0001159/0.008421, allocations: 103.2 kB / 0.8828 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.008555, allocations: 27.67 kB / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.008558, allocations: 0 / 0.8828 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.008598, allocations: 23.62 kB / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.008841, allocations: 21.67 kB / 0.8828 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.00924, allocations: 126.4 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.234e-05/0.009283, allocations: 63.34 kB / 0.883 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.009315, allocations: 4 kB / 0.883 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.009368, allocations: 20.48 kB / 0.883 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of SimCode: time 1.462e-06/0.00937, allocations: 0 / 0.883 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of Templates: time 0.003664/0.01303, allocations: 1.015 MB / 0.884 GB, free: 52 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.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.503665924072266]