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.00162/0.00162, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001924/0.001924, allocations: 169 kB / 24.05 MB, free: 456 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 1.003/1.003, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.179/2.179, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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.653e-06/1.653e-06, allocations: 0.875 kB / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.57e-05, allocations: 6.906 kB / 0.8794 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002036/0.002062, allocations: 0.7831 MB / 0.8802 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.003305, allocations: 0.9034 MB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.003366, allocations: 0 / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.782e-05/0.003403, allocations: 8.609 kB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.546e-05/0.003499, allocations: 17.52 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.003684, allocations: 39.89 kB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.00384, allocations: 87.75 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.003961, allocations: 27.86 kB / 0.8812 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.004082, allocations: 56.33 kB / 0.8813 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.00417, allocations: 41.31 kB / 0.8813 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.004198, allocations: 8 kB / 0.8813 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.004213, allocations: 8 kB / 0.8813 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.00424, allocations: 15.98 kB / 0.8814 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.58e-05/0.004276, allocations: 28.66 kB / 0.8814 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.004406, allocations: 63.78 kB / 0.8814 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.004409, allocations: 1.344 kB / 0.8814 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.82e-07/0.00441, allocations: 0 / 0.8814 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.004414, allocations: 0 / 0.8814 GB, free: 3.91 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.0005105/0.004925, allocations: 413.9 kB / 0.8818 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.004962, allocations: 8.031 kB / 0.8819 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.005008, allocations: 16.83 kB / 0.8819 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.005116, allocations: 124.4 kB / 0.882 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.005139, allocations: 9.844 kB / 0.882 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.005154, allocations: 4.375 kB / 0.882 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.005363, allocations: 92.89 kB / 0.8821 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.005374, allocations: 7.031 kB / 0.8821 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.005385, allocations: 0 / 0.8821 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.005392, allocations: 0 / 0.8821 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.261e-05/0.005465, allocations: 23.92 kB / 0.8821 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.005889, allocations: 296.2 kB / 0.8824 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.006251, allocations: 87.06 kB / 0.8825 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.006291, allocations: 15.69 kB / 0.8825 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.006308, allocations: 0 / 0.8825 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.006333, allocations: 33.39 kB / 0.8825 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.654e-06/0.006335, allocations: 4 kB / 0.8825 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002525/0.006587, allocations: 85.59 kB / 0.8826 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.006635, allocations: 55.34 kB / 0.8827 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.006736, allocations: 170.2 kB / 0.8828 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.006751, allocations: 29.7 kB / 0.8829 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.006812, allocations: 146.8 kB / 0.883 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.006841, allocations: 23.8 kB / 0.883 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.006892, allocations: 31.34 kB / 0.8831 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.007025, allocations: 0.4884 MB / 0.8835 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.007061, allocations: 8 kB / 0.8835 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.007092, allocations: 7.984 kB / 0.8835 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.464e-05/0.007176, allocations: 35.61 kB / 0.8836 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.007178, allocations: 0 / 0.8836 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001557/0.007334, allocations: 77.61 kB / 0.8837 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.007349, allocations: 7.938 kB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.007355, allocations: 0 / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.007368, allocations: 7.984 kB / 0.8837 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.007495, allocations: 15.98 kB / 0.8837 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.007499, allocations: 0 / 0.8837 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.00756, allocations: 7.953 kB / 0.8837 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.007573, allocations: 7.984 kB / 0.8837 GB, free: 1.414 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 9.005e-05/0.007663, allocations: 160.5 kB / 0.8839 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.007701, allocations: 11.95 kB / 0.8839 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.007883, allocations: 78.03 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.007885, allocations: 0 / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.007888, allocations: 4 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.007893, allocations: 3.984 kB / 0.8839 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.008048, allocations: 117.2 kB / 0.8841 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008049, allocations: 0 / 0.8841 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.00815, allocations: 23.92 kB / 0.8841 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.008153, allocations: 0 / 0.8841 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.008166, allocations: 15.98 kB / 0.8841 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.008169, allocations: 0.625 kB / 0.8841 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.00817, allocations: 0 / 0.8841 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.00837, allocations: 227.8 kB / 0.8843 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.008385, allocations: 11.89 kB / 0.8843 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.008402, allocations: 7.938 kB / 0.8843 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.68e-05/0.008499, allocations: 7.984 kB / 0.8843 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.886e-05/0.008568, allocations: 19.97 kB / 0.8844 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.008578, allocations: 4 kB / 0.8844 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.703e-05/0.008635, allocations: 139.2 kB / 0.8845 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.008635, allocations: 4 kB / 0.8845 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002595/0.008894, allocations: 16 kB / 0.8845 GB, free: 0.5117 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 0.0001126/0.009007, allocations: 91.25 kB / 0.8846 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.00914, allocations: 39.66 kB / 0.8846 GB, free: 380 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009142, allocations: 0 / 0.8846 GB, free: 380 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/0.009207, allocations: 43.55 kB / 0.8847 GB, free: 332 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.009522, allocations: 17.36 kB / 0.8847 GB, free: 316 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.009907, allocations: 170.8 kB / 0.8849 GB, free: 112 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.138e-05/0.009948, allocations: 63.34 kB / 0.8849 GB, free: 28 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.569e-05/0.01001, allocations: 15.98 kB / 0.8849 GB, free: 12 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.01014, allocations: 86.19 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/0.01014, allocations: 0 / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.004712/0.01485, allocations: 1.88 MB / 0.8869 GB, free: 14.07 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.58669457398355]