Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001897/0.001897, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.00202/0.00202, 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.559/1.559, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.94/2.94, allocations: 359 MB / 0.6048 GB, free: 10.96 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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.7864 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.543e-05/3.805e-05, allocations: 3.891 kB / 0.7864 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.00205/0.002088, allocations: 0.6626 MB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001976/0.002286, allocations: 16.44 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.002352, allocations: 4 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.0025, allocations: 5.391 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.002547, allocations: 3.938 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.503e-05/0.002632, allocations: 4 kB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.002745, allocations: 28.98 kB / 0.7871 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.002895, allocations: 19.97 kB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.002951, allocations: 19.92 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.944e-05/0.00299, allocations: 13.55 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.003013, allocations: 4 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.003027, allocations: 4 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.003066, allocations: 11.94 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.003104, allocations: 13.3 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.003233, allocations: 43.88 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.003236, allocations: 0 / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003237, allocations: 0.875 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.003241, allocations: 0 / 0.7873 GB, free: 11.89 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005188/0.00376, allocations: 376.2 kB / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.003807, allocations: 8.875 kB / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.003871, allocations: 12.89 kB / 0.7877 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.004074, allocations: 134.8 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.004092, allocations: 12.36 kB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.004107, allocations: 8.359 kB / 0.7878 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.004275, allocations: 62.17 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.004285, allocations: 192 / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.004297, allocations: 4.375 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.004303, allocations: 4.375 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.004373, allocations: 29.67 kB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.004996, allocations: 0.5371 MB / 0.7884 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.005179, allocations: 273.4 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.00526, allocations: 126.9 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.459e-05/0.005325, allocations: 119.8 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.131e-05/0.005416, allocations: 156.6 kB / 0.7891 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.005417, allocations: 0.5938 kB / 0.7891 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.843e-05/0.005496, allocations: 26.48 kB / 0.7891 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.005604, allocations: 174.6 kB / 0.7893 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.005791, allocations: 191 kB / 0.7894 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.005813, allocations: 25.81 kB / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.005917, allocations: 150.6 kB / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.00592, allocations: 1.984 kB / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.005963, allocations: 23.36 kB / 0.7896 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000274/0.006237, allocations: 0.4883 MB / 0.7901 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.006255, allocations: 4 kB / 0.7901 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.738e-05/0.006272, allocations: 13.73 kB / 0.7901 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.13e-05/0.006314, allocations: 15.67 kB / 0.7901 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.006315, allocations: 4 kB / 0.7901 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001312/0.006446, allocations: 50.86 kB / 0.7902 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.006459, allocations: 4 kB / 0.7902 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006463, allocations: 0 / 0.7902 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.006475, allocations: 0.5 kB / 0.7902 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.006533, allocations: 8.469 kB / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.006537, allocations: 320 / 0.7902 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.341e-05/0.006561, allocations: 5.938 kB / 0.7902 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.006572, allocations: 3.984 kB / 0.7902 GB, free: 8.676 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 (1): * Single equations (assignments): 1 * 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.0001853/0.006758, allocations: 283.7 kB / 0.7905 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.00686, allocations: 152.9 kB / 0.7906 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.461e-05/0.006955, allocations: 158.9 kB / 0.7908 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001503/0.007105, allocations: 264.2 kB / 0.791 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001383/0.007243, allocations: 272.1 kB / 0.7913 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000141/0.007384, allocations: 272 kB / 0.7916 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.007751, allocations: 0.5076 MB / 0.7921 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.382e-05/0.007845, allocations: 152.8 kB / 0.7922 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.007923, allocations: 144.9 kB / 0.7923 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/0.008079, allocations: 264.6 kB / 0.7926 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.008228, allocations: 276 kB / 0.7929 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000139/0.008367, allocations: 268.8 kB / 0.7931 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001455/0.008512, allocations: 272.6 kB / 0.7934 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.008968, allocations: 448 kB / 0.7938 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.009084, allocations: 158.4 kB / 0.7939 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.009255, allocations: 272.1 kB / 0.7942 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.00938, allocations: 148.8 kB / 0.7943 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.009525, allocations: 264.1 kB / 0.7946 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.632e-05/0.009611, allocations: 149.7 kB / 0.7947 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001138/0.009725, allocations: 147.1 kB / 0.7949 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009725, allocations: 3.938 kB / 0.7949 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002304/0.009956, allocations: 8.781 kB / 0.7949 GB, free: 3.695 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 (0): * Single equations (assignments): 0 * 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.000229/0.01018, allocations: 219.7 kB / 0.7951 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.744e-05/0.01027, allocations: 11.69 kB / 0.7951 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01027, allocations: 0.8438 kB / 0.7951 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.01028, allocations: 0 / 0.7951 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006105/0.01089, allocations: 0.7118 MB / 0.7958 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.01129, allocations: 261.3 kB / 0.7961 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.082e-05/0.01138, allocations: 76.64 kB / 0.7961 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.0114, allocations: 7.938 kB / 0.7961 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.01143, allocations: 8.5 kB / 0.7962 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.01143, allocations: 1.656 kB / 0.7962 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of Templates: time 0.002973/0.01441, allocations: 316.8 kB / 0.7965 GB, free: 2.051 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.00882799201645]