Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001473/0.001473, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001116/0.001116, allocations: 173 kB / 23.49 MB, free: 1.059 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.9877/0.9877, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.308/2.308, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.426e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001471/0.001495, allocations: 0.7798 MB / 0.879 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009525/0.002448, allocations: 0.8998 MB / 0.8798 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.002498, allocations: 4.531 kB / 0.8798 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.341e-05/0.002532, allocations: 15.55 kB / 0.8799 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.726e-05/0.002619, allocations: 11.86 kB / 0.8799 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.002835, allocations: 39.89 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.002947, allocations: 91.75 kB / 0.88 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.003061, allocations: 15.88 kB / 0.88 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.003169, allocations: 59.88 kB / 0.8801 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.095e-05/0.00324, allocations: 35.89 kB / 0.8801 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.00327, allocations: 11.94 kB / 0.8801 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.003283, allocations: 8 kB / 0.8801 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.00331, allocations: 21.75 kB / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.003343, allocations: 23.91 kB / 0.8802 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.003464, allocations: 67.78 kB / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003466, allocations: 0 / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003467, allocations: 0 / 0.8802 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.003471, allocations: 0.9375 kB / 0.8802 GB, free: 4.57 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004409/0.003912, allocations: 408.3 kB / 0.8806 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.003949, allocations: 9.156 kB / 0.8806 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.003994, allocations: 8.891 kB / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.004096, allocations: 136.4 kB / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.004116, allocations: 5.5 kB / 0.8808 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.004134, allocations: 12.36 kB / 0.8808 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.004308, allocations: 87.94 kB / 0.8809 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.004315, allocations: 3.938 kB / 0.8809 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.004328, allocations: 4.969 kB / 0.8809 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.004336, allocations: 4 kB / 0.8809 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.231e-05/0.004409, allocations: 28.69 kB / 0.8809 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.004819, allocations: 321.2 kB / 0.8812 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.0051, allocations: 83.08 kB / 0.8813 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.089e-05/0.005141, allocations: 20.19 kB / 0.8813 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.005162, allocations: 5.875 kB / 0.8813 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.005182, allocations: 33.39 kB / 0.8814 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.005183, allocations: 0 / 0.8814 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000214/0.005397, allocations: 85.61 kB / 0.8814 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.005427, allocations: 56.56 kB / 0.8815 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.005514, allocations: 177.9 kB / 0.8817 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.005526, allocations: 25.7 kB / 0.8817 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.005578, allocations: 144.4 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.005602, allocations: 27.72 kB / 0.8818 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.005641, allocations: 31.36 kB / 0.8819 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.005766, allocations: 0.4922 MB / 0.8824 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/0.005802, allocations: 14.47 kB / 0.8824 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.848e-05/0.00583, allocations: 11.98 kB / 0.8824 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.663e-05/0.005897, allocations: 35.67 kB / 0.8824 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005898, allocations: 0 / 0.8824 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000106/0.006004, allocations: 77.61 kB / 0.8825 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.006016, allocations: 6.062 kB / 0.8825 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.00602, allocations: 0 / 0.8825 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.006032, allocations: 0 / 0.8825 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.006104, allocations: 19.92 kB / 0.8825 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.006109, allocations: 4 kB / 0.8825 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.95e-05/0.006148, allocations: 19.94 kB / 0.8825 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.006155, allocations: 0 / 0.8825 GB, free: 2.016 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 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.138e-05/0.006226, allocations: 164.5 kB / 0.8827 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.006247, allocations: 7.953 kB / 0.8827 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.006388, allocations: 86.06 kB / 0.8828 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.00639, allocations: 4 kB / 0.8828 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.006393, allocations: 0 / 0.8828 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.006397, allocations: 0 / 0.8828 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.00651, allocations: 152.4 kB / 0.8829 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.006511, allocations: 4 kB / 0.8829 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.006564, allocations: 15.98 kB / 0.883 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.006566, allocations: 0 / 0.883 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.006575, allocations: 0 / 0.883 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.006577, allocations: 4 kB / 0.883 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.006578, allocations: 0 / 0.883 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.006726, allocations: 228.4 kB / 0.8832 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.006738, allocations: 11.94 kB / 0.8832 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.006751, allocations: 4 kB / 0.8832 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.914e-05/0.0068, allocations: 8 kB / 0.8832 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/0.006864, allocations: 23.97 kB / 0.8832 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.006869, allocations: 7.922 kB / 0.8832 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.434e-05/0.006913, allocations: 139.2 kB / 0.8834 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006913, allocations: 0 / 0.8834 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001459/0.007059, allocations: 16 kB / 0.8834 GB, free: 1.082 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.848e-05/0.007128, allocations: 91.25 kB / 0.8835 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.007242, allocations: 47.72 kB / 0.8835 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007244, allocations: 4 kB / 0.8835 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.109e-05/0.007295, allocations: 43.55 kB / 0.8836 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.007488, allocations: 24.44 kB / 0.8836 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.007797, allocations: 159.6 kB / 0.8837 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.007831, allocations: 63.34 kB / 0.8838 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.784e-05/0.007869, allocations: 8 kB / 0.8838 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.007918, allocations: 24.48 kB / 0.8838 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of SimCode: time 8.02e-07/0.007918, allocations: 4 kB / 0.8838 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of Templates: time 0.002974/0.01089, allocations: 1.729 MB / 0.8855 GB, free: 14.86 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.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.805434034904465]