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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001598, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.719/2.719, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004637, allocations: 16 kB / 0.8708 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8228, allocations: 153.6 MB / 1.021 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.0009159/0.8238, allocations: 437.2 kB / 1.021 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008781/0.8246, allocations: 0.8235 MB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.8247, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.8247, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.339e-05/0.8248, allocations: 0 / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.825, allocations: 19.92 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.817e-05/0.825, allocations: 31.91 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.8251, allocations: 15.97 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.62e-05/0.8252, allocations: 15.92 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.8253, allocations: 19.92 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.8253, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.354e-05/0.8254, allocations: 4 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.8254, allocations: 3.984 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.8254, allocations: 37.69 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.695e-05/0.8255, allocations: 27.94 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/0.8255, allocations: 4 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.907e-06/0.8255, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.8255, allocations: 3.938 kB / 1.022 GB, free: 15.71 MB / 0.7794 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.0005021/0.826, allocations: 353.3 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.8261, allocations: 11.98 kB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.8261, allocations: 11.91 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.8262, allocations: 171 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.8263, allocations: 4 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.8263, allocations: 0 / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.8265, allocations: 73.61 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.8265, allocations: 0 / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.8265, allocations: 4 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.8265, allocations: 7.984 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.8268, allocations: 63.89 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.8272, allocations: 288.7 kB / 1.023 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.8274, allocations: 74.53 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.8274, allocations: 3.984 kB / 1.023 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.8275, allocations: 34.5 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.8275, allocations: 0 / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004235/0.8279, allocations: 121.8 kB / 1.023 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.8279, allocations: 59.34 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.828, allocations: 105.8 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.828, allocations: 25.7 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.8281, allocations: 96.05 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.8281, allocations: 11.83 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.8282, allocations: 3.938 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.8283, allocations: 314.8 kB / 1.024 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.8284, allocations: 31.97 kB / 1.024 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.441e-05/0.8285, allocations: 27.98 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.8286, allocations: 31.91 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8286, allocations: 3.953 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002513/0.8289, allocations: 97.66 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.8289, allocations: 4 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.8289, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.8289, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.829, allocations: 15.98 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.8291, allocations: 3.984 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/0.8291, allocations: 11.91 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.8292, allocations: 4 kB / 1.024 GB, free: 13.47 MB / 0.7794 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 (intGreEquThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.8293, allocations: 117.8 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.8293, allocations: 3.953 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.8293, allocations: 3.906 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.8293, allocations: 0 / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8294, allocations: 4 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.8294, allocations: 0 / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.8296, allocations: 173.6 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8296, allocations: 3.938 kB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.414e-05/0.8297, allocations: 23.94 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.8297, allocations: 0 / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.8297, allocations: 0 / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.8297, allocations: 0 / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.8297, allocations: 0 / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.83, allocations: 195.4 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.83, allocations: 81.05 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.8301, allocations: 3.953 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.8302, allocations: 11.98 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.8302, allocations: 11.98 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-06/0.8303, allocations: 4 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.723e-05/0.8303, allocations: 95.27 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8303, allocations: 0 / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002222/0.8305, allocations: 8 kB / 1.025 GB, free: 12.64 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000121/0.8307, allocations: 99.56 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.8309, allocations: 75.92 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8309, allocations: 0 / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.8311, allocations: 31.98 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.8313, allocations: 12.56 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.8316, allocations: 142.7 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.8319, allocations: 0.6848 MB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.422e-05/0.8319, allocations: 4 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.832, allocations: 11.44 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.832, allocations: 4 kB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of Templates: time 0.002818/0.8348, allocations: 0.7338 MB / 1.027 GB, free: 10.79 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches