Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001938/0.001938, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002055/0.002055, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.552/1.552, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.881/2.881, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.565e-06/2.565e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.353e-05/3.61e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002146/0.002182, allocations: 0.7082 MB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.003452, allocations: 0.8326 MB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.003487, allocations: 0.625 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.003514, allocations: 3.984 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.836e-05/0.003593, allocations: 12.97 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.003708, allocations: 11.98 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.003821, allocations: 44.36 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.003929, allocations: 12.78 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.539e-05/0.004025, allocations: 19.98 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.218e-05/0.004087, allocations: 20.58 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.004112, allocations: 4 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.36e-05/0.004126, allocations: 5.188 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.004147, allocations: 7.984 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.004176, allocations: 11.94 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.004291, allocations: 48.62 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.004294, allocations: 0 / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004295, allocations: 4.812 kB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.0043, allocations: 0 / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005738/0.004874, allocations: 377.3 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.004912, allocations: 8.031 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.004964, allocations: 8.891 kB / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.00509, allocations: 109.3 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.005102, allocations: 3.062 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.005117, allocations: 4.375 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.005312, allocations: 58.23 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.00532, allocations: 192 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-06/0.00533, allocations: 384 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.005334, allocations: 384 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.005524, allocations: 53.36 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.005956, allocations: 271.7 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.006129, allocations: 55.05 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.006235, allocations: 32.34 kB / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.006261, allocations: 1.625 kB / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.006303, allocations: 37.39 kB / 0.7891 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.006304, allocations: 0 / 0.7891 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0004278/0.006731, allocations: 102.8 kB / 0.7892 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.006791, allocations: 51.41 kB / 0.7893 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.006948, allocations: 174.6 kB / 0.7894 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.006972, allocations: 25.7 kB / 0.7895 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.86e-05/0.00707, allocations: 139.9 kB / 0.7896 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.007098, allocations: 7.938 kB / 0.7896 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.007142, allocations: 19.38 kB / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000797/0.007939, allocations: 0.4897 MB / 0.7901 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.008033, allocations: 19.98 kB / 0.7901 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.383e-05/0.008117, allocations: 21.83 kB / 0.7901 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.008291, allocations: 51.59 kB / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.008293, allocations: 0 / 0.7902 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002267/0.008519, allocations: 79.19 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.008546, allocations: 9.969 kB / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.008552, allocations: 0 / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.008567, allocations: 0.5 kB / 0.7903 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.008674, allocations: 12.52 kB / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.008679, allocations: 0 / 0.7903 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.008733, allocations: 9.859 kB / 0.7903 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.008743, allocations: 8 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001181/0.008861, allocations: 152.6 kB / 0.7904 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.008896, allocations: 11.98 kB / 0.7905 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.009162, allocations: 88.09 kB / 0.7905 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.009165, allocations: 0 / 0.7905 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.009171, allocations: 4 kB / 0.7905 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.009174, allocations: 0 / 0.7905 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.009352, allocations: 128.6 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.009353, allocations: 0 / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/0.009424, allocations: 12.52 kB / 0.7907 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.009425, allocations: 0.7188 kB / 0.7907 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.009444, allocations: 3.938 kB / 0.7907 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.009448, allocations: 4.469 kB / 0.7907 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.009449, allocations: 1.344 kB / 0.7907 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.009789, allocations: 231.8 kB / 0.7909 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.009797, allocations: 5.078 kB / 0.7909 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.009811, allocations: 1 kB / 0.7909 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.169e-05/0.009892, allocations: 11.94 kB / 0.7909 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.009944, allocations: 7.984 kB / 0.7909 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.009949, allocations: 0.8438 kB / 0.7909 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.867e-05/0.01005, allocations: 139.2 kB / 0.7911 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01005, allocations: 1.562 kB / 0.7911 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002089/0.01026, allocations: 4 kB / 0.7911 GB, free: 7.754 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001702/0.01043, allocations: 100.2 kB / 0.7912 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.01068, allocations: 55.64 kB / 0.7912 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01068, allocations: 2.094 kB / 0.7912 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.01079, allocations: 39.59 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.01107, allocations: 8 kB / 0.7913 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.01149, allocations: 132.4 kB / 0.7914 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.132e-05/0.01157, allocations: 67.33 kB / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.884e-05/0.0116, allocations: 0 / 0.7915 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.01164, allocations: 17.56 kB / 0.7915 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01164, allocations: 0 / 0.7915 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of Templates: time 0.004086/0.01573, allocations: 0.7406 MB / 0.7922 GB, free: 6.57 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.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: 7.9815138939302415]