Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002082/0.002082, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.00251/0.00251, allocations: 165.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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.496/1.496, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.726/2.726, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.756e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001942/0.001969, allocations: 0.7554 MB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.003347, allocations: 0.886 MB / 0.9526 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.003411, allocations: 4 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.529e-05/0.003466, allocations: 11.86 kB / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.003568, allocations: 11.86 kB / 0.9526 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.003764, allocations: 39.89 kB / 0.9527 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.003913, allocations: 99.69 kB / 0.9527 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.004023, allocations: 15.98 kB / 0.9528 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.004151, allocations: 51.89 kB / 0.9528 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.001e-05/0.004241, allocations: 39.88 kB / 0.9528 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.00427, allocations: 8 kB / 0.9529 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.939e-05/0.00429, allocations: 8 kB / 0.9529 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.004324, allocations: 15.98 kB / 0.9529 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.004369, allocations: 27.91 kB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.004543, allocations: 95.7 kB / 0.953 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.004546, allocations: 0 / 0.953 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004547, allocations: 4 kB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.004553, allocations: 0 / 0.953 GB, free: 9.477 MB / 0.8575 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.0007334/0.005287, allocations: 314 kB / 0.9533 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.005327, allocations: 8.031 kB / 0.9533 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.005369, allocations: 8.891 kB / 0.9533 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.005527, allocations: 133.5 kB / 0.9534 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.005549, allocations: 8.312 kB / 0.9535 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.00557, allocations: 4.375 kB / 0.9535 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.005937, allocations: 117.2 kB / 0.9536 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.005952, allocations: 3.938 kB / 0.9536 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.005969, allocations: 4 kB / 0.9536 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.005979, allocations: 0 / 0.9536 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.006408, allocations: 95.91 kB / 0.9537 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.006981, allocations: 268.3 kB / 0.9539 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007341/0.007715, allocations: 118.6 kB / 0.954 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.007929, allocations: 56.75 kB / 0.9541 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.007958, allocations: 0 / 0.9541 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.007992, allocations: 38.5 kB / 0.9541 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.007993, allocations: 0 / 0.9541 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007709/0.008764, allocations: 189.5 kB / 0.9543 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.008806, allocations: 51.41 kB / 0.9544 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.008943, allocations: 121.8 kB / 0.9545 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.008969, allocations: 25.7 kB / 0.9545 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.009038, allocations: 96.09 kB / 0.9546 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.009075, allocations: 23.78 kB / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.009141, allocations: 21.72 kB / 0.9546 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.009299, allocations: 326.8 kB / 0.9549 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.009506, allocations: 43.95 kB / 0.955 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.009702, allocations: 51.89 kB / 0.955 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/0.01011, allocations: 97.22 kB / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01011, allocations: 4 kB / 0.9551 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004606/0.01057, allocations: 133.6 kB / 0.9553 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.01059, allocations: 4 kB / 0.9553 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.01059, allocations: 0 / 0.9553 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.01061, allocations: 7.938 kB / 0.9553 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.0108, allocations: 23.97 kB / 0.9553 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.0108, allocations: 3.984 kB / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.01093, allocations: 23.94 kB / 0.9553 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.01094, allocations: 3.938 kB / 0.9553 GB, free: 6.926 MB / 0.8575 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 0.0001329/0.01108, allocations: 117.8 kB / 0.9554 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.01112, allocations: 7.953 kB / 0.9554 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005451/0.01166, allocations: 150 kB / 0.9556 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.01167, allocations: 4 kB / 0.9556 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.01168, allocations: 4 kB / 0.9556 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.01168, allocations: 3.984 kB / 0.9556 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.0119, allocations: 137.2 kB / 0.9557 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.0119, allocations: 0 / 0.9557 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.01207, allocations: 23.97 kB / 0.9558 GB, free: 6.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01208, allocations: 3.938 kB / 0.9558 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01209, allocations: 4 kB / 0.9558 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01209, allocations: 0 / 0.9558 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.0121, allocations: 4 kB / 0.9558 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.01263, allocations: 232 kB / 0.956 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.01265, allocations: 15.94 kB / 0.956 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.01268, allocations: 0 / 0.956 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.01283, allocations: 11.98 kB / 0.956 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.01292, allocations: 19.97 kB / 0.956 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.01293, allocations: 7.938 kB / 0.956 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.551e-05/0.01299, allocations: 95.27 kB / 0.9561 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01299, allocations: 0 / 0.9561 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000266/0.01326, allocations: 19.94 kB / 0.9561 GB, free: 6.02 MB / 0.8575 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.0001493/0.01341, allocations: 99.19 kB / 0.9562 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004718/0.01388, allocations: 103.9 kB / 0.9563 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01388, allocations: 0 / 0.9563 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.01412, allocations: 67.88 kB / 0.9564 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.01446, allocations: 11.94 kB / 0.9564 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.01498, allocations: 169.6 kB / 0.9566 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.831e-05/0.01506, allocations: 79.27 kB / 0.9567 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.94e-05/0.01513, allocations: 15.98 kB / 0.9567 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.597e-05/0.01521, allocations: 20.48 kB / 0.9567 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.01521, allocations: 0 / 0.9567 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of Templates: time 0.005311/0.02052, allocations: 1.706 MB / 0.9584 GB, free: 3.715 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.135955899953842]