Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001405/0.001405, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001589/0.001589, allocations: 170 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.493/1.493, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.787/2.787, allocations: 359 MB / 0.6037 GB, free: 14.99 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.723e-06, allocations: 4 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.223e-05/3.895e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002118/0.002157, allocations: 0.7524 MB / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.003684, allocations: 0.8976 MB / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.921e-05/0.003763, allocations: 0 / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.427e-05/0.003808, allocations: 3.938 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001209/0.003929, allocations: 7.938 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.004195, allocations: 51.81 kB / 0.9527 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.004365, allocations: 87.75 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.004503, allocations: 15.98 kB / 0.9528 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.004657, allocations: 55.88 kB / 0.9528 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.00476, allocations: 39.89 kB / 0.9528 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.004794, allocations: 8 kB / 0.9528 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.027e-05/0.004814, allocations: 8 kB / 0.9529 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.004853, allocations: 19.91 kB / 0.9529 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.004897, allocations: 19.98 kB / 0.9529 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.005079, allocations: 95.7 kB / 0.953 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.005085, allocations: 8 kB / 0.953 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005086, allocations: 0 / 0.953 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.005092, allocations: 3.938 kB / 0.953 GB, free: 9.492 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.0007568/0.005849, allocations: 316.1 kB / 0.9533 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.005891, allocations: 11.97 kB / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.005944, allocations: 8.891 kB / 0.9533 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.006112, allocations: 129.7 kB / 0.9534 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.006131, allocations: 384 / 0.9534 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.006151, allocations: 4.375 kB / 0.9534 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.006513, allocations: 114.2 kB / 0.9536 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.006526, allocations: 3.938 kB / 0.9536 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.006541, allocations: 0 / 0.9536 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.006548, allocations: 4 kB / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004036/0.006952, allocations: 99.83 kB / 0.9537 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005687/0.00752, allocations: 280.3 kB / 0.9539 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.008208, allocations: 118.5 kB / 0.954 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.008416, allocations: 48.81 kB / 0.9541 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.00844, allocations: 0 / 0.9541 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.008476, allocations: 34.56 kB / 0.9541 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.008478, allocations: 4 kB / 0.9541 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007697/0.009247, allocations: 181.5 kB / 0.9543 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.009298, allocations: 55.41 kB / 0.9543 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.009425, allocations: 125.8 kB / 0.9545 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.00945, allocations: 29.64 kB / 0.9545 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.892e-05/0.009529, allocations: 100.1 kB / 0.9546 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.009562, allocations: 15.8 kB / 0.9546 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.009625, allocations: 29.7 kB / 0.9546 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.009787, allocations: 322.7 kB / 0.9549 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.009995, allocations: 43.95 kB / 0.955 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.01018, allocations: 52.25 kB / 0.955 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.01056, allocations: 100.9 kB / 0.9551 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01057, allocations: 0 / 0.9551 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004589/0.01102, allocations: 133.6 kB / 0.9553 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.01105, allocations: 4 kB / 0.9553 GB, free: 7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01105, allocations: 0 / 0.9553 GB, free: 7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.01107, allocations: 0 / 0.9553 GB, free: 7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.01126, allocations: 27.91 kB / 0.9553 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.01126, allocations: 8 kB / 0.9553 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.01139, allocations: 11.94 kB / 0.9553 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.0114, allocations: 4 kB / 0.9553 GB, free: 6.949 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,max1.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.0001147/0.01152, allocations: 121.8 kB / 0.9554 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.01156, allocations: 11.95 kB / 0.9554 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005196/0.01208, allocations: 150 kB / 0.9556 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.01208, allocations: 0 / 0.9556 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01208, allocations: 0 / 0.9556 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01209, allocations: 7.938 kB / 0.9556 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.01227, allocations: 133.2 kB / 0.9557 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01227, allocations: 0 / 0.9557 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.01244, allocations: 23.97 kB / 0.9557 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01244, allocations: 0 / 0.9557 GB, free: 6.465 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.01245, allocations: 3.984 kB / 0.9557 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01245, allocations: 4 kB / 0.9557 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01246, allocations: 4 kB / 0.9558 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.01298, allocations: 240 kB / 0.956 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.01299, allocations: 3.953 kB / 0.956 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.01302, allocations: 8 kB / 0.956 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.01316, allocations: 7.984 kB / 0.956 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.01325, allocations: 23.97 kB / 0.956 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.01326, allocations: 11.92 kB / 0.956 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.735e-05/0.01332, allocations: 95.27 kB / 0.9561 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.01332, allocations: 3.938 kB / 0.9561 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002446/0.01357, allocations: 19.94 kB / 0.9561 GB, free: 6.031 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 (max1.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.0001257/0.01369, allocations: 95.25 kB / 0.9562 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004628/0.01416, allocations: 95.91 kB / 0.9563 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.01416, allocations: 4 kB / 0.9563 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.01439, allocations: 67.81 kB / 0.9564 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.01471, allocations: 11.94 kB / 0.9564 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005646/0.01528, allocations: 173.6 kB / 0.9566 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.635e-05/0.01536, allocations: 75.33 kB / 0.9566 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.74e-05/0.01541, allocations: 8 kB / 0.9567 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.01549, allocations: 24.48 kB / 0.9567 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.0155, allocations: 4 kB / 0.9567 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of Templates: time 0.005206/0.0207, allocations: 1.704 MB / 0.9583 GB, free: 3.738 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.051750551909208]