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.0009649/0.0009649, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00138/0.00138, allocations: 169 kB / 23.27 MB, free: 1.223 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.9544/0.9544, allocations: 177.2 MB / 203.7 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.349/2.349, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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 4.819e-06/4.819e-06, allocations: 3.984 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.84e-05/4.322e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002292/0.002336, allocations: 0.7834 MB / 0.8905 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.003773, allocations: 0.8976 MB / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.992e-05/0.003833, allocations: 0 / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.00387, allocations: 15.86 kB / 0.8914 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.968e-05/0.00397, allocations: 11.88 kB / 0.8914 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.00415, allocations: 43.88 kB / 0.8915 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.004268, allocations: 87.81 kB / 0.8916 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.004378, allocations: 19.86 kB / 0.8916 GB, free: 7.883 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.0045, allocations: 47.95 kB / 0.8916 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.009e-05/0.00458, allocations: 39.89 kB / 0.8917 GB, free: 7.797 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.004606, allocations: 8 kB / 0.8917 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.536e-05/0.004621, allocations: 8 kB / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.004651, allocations: 19.91 kB / 0.8917 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.376e-05/0.004684, allocations: 27.92 kB / 0.8917 GB, free: 7.734 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.004814, allocations: 71.7 kB / 0.8918 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.004817, allocations: 0 / 0.8918 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.012e-06/0.004818, allocations: 4 kB / 0.8918 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.004822, allocations: 0 / 0.8918 GB, free: 7.66 MB / 0.8542 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.0005668/0.005389, allocations: 404.3 kB / 0.8922 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.005433, allocations: 12.62 kB / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.473e-05/0.005478, allocations: 8.891 kB / 0.8922 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.005579, allocations: 128.4 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.005601, allocations: 8.375 kB / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.005618, allocations: 8.375 kB / 0.8923 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.005818, allocations: 90.89 kB / 0.8924 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.005832, allocations: 3.938 kB / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.005847, allocations: 8 kB / 0.8924 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.005853, allocations: 0 / 0.8924 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.527e-05/0.005918, allocations: 19.98 kB / 0.8925 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.00633, allocations: 300.2 kB / 0.8927 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.006655, allocations: 79.08 kB / 0.8928 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.006694, allocations: 19.67 kB / 0.8928 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.006719, allocations: 4 kB / 0.8928 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.006746, allocations: 37.33 kB / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/0.006748, allocations: 0 / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.000223/0.006971, allocations: 77.62 kB / 0.8929 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.007003, allocations: 55.41 kB / 0.893 GB, free: 6.281 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.732e-05/0.0071, allocations: 181.9 kB / 0.8932 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.007114, allocations: 25.7 kB / 0.8932 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.007178, allocations: 146.8 kB / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.007207, allocations: 23.8 kB / 0.8934 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.007254, allocations: 27.34 kB / 0.8934 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002812/0.007535, allocations: 496.1 kB / 0.8939 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/0.00757, allocations: 11.97 kB / 0.8939 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.217e-05/0.007602, allocations: 19.92 kB / 0.8939 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.035e-05/0.007672, allocations: 31.62 kB / 0.8939 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.007674, allocations: 0 / 0.8939 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001386/0.007813, allocations: 77.61 kB / 0.894 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.007827, allocations: 4 kB / 0.894 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007832, allocations: 0 / 0.894 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.007845, allocations: 0 / 0.894 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.00796, allocations: 23.97 kB / 0.894 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.007963, allocations: 0 / 0.894 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.008016, allocations: 7.938 kB / 0.894 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-06/0.008024, allocations: 0 / 0.894 GB, free: 5.168 MB / 0.8542 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 8.793e-05/0.008111, allocations: 172.5 kB / 0.8942 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/0.008144, allocations: 11.95 kB / 0.8942 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.008312, allocations: 74.64 kB / 0.8943 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008314, allocations: 0 / 0.8943 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.008316, allocations: 3.938 kB / 0.8943 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.008319, allocations: 0 / 0.8943 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.008481, allocations: 129.2 kB / 0.8944 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.008483, allocations: 4 kB / 0.8944 GB, free: 4.738 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.879e-05/0.008582, allocations: 23.86 kB / 0.8944 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.008585, allocations: 4 kB / 0.8944 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.008594, allocations: 0 / 0.8944 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.008597, allocations: 4 kB / 0.8944 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-06/0.008606, allocations: 3.984 kB / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.008798, allocations: 219.9 kB / 0.8946 GB, free: 4.469 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.008813, allocations: 7.891 kB / 0.8947 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.008832, allocations: 12 kB / 0.8947 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.895e-05/0.008921, allocations: 4 kB / 0.8947 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.008987, allocations: 19.97 kB / 0.8947 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.008997, allocations: 7.984 kB / 0.8947 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.009058, allocations: 143.2 kB / 0.8948 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.009058, allocations: 0 / 0.8948 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002597/0.009318, allocations: 12 kB / 0.8948 GB, free: 4.266 MB / 0.8542 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.0001185/0.009436, allocations: 95.19 kB / 0.8949 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.009557, allocations: 43.66 kB / 0.895 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.009559, allocations: 0 / 0.895 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.666e-05/0.009626, allocations: 31.61 kB / 0.895 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.009917, allocations: 24.75 kB / 0.895 GB, free: 4.059 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.01028, allocations: 170.4 kB / 0.8952 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/0.01032, allocations: 60.72 kB / 0.8953 GB, free: 3.785 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.91e-05/0.01038, allocations: 12 kB / 0.8953 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.01049, allocations: 94.17 kB / 0.8954 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of SimCode: time 8.71e-07/0.01049, allocations: 0 / 0.8954 GB, free: 3.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.004413/0.0149, allocations: 1.835 MB / 0.8971 GB, free: 1.859 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.180839175358415]