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.0009658/0.0009658, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009962/0.0009962, allocations: 161 kB / 23.82 MB, free: 0.75 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.9682/0.9682, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] 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 1.809/1.809, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+..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.[0-9,]+..y|maxVal.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.936e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001157/0.001176, allocations: 0.6636 MB / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001418/0.001318, allocations: 15.94 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.001358, allocations: 0 / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.525e-05/0.001454, allocations: 5.562 kB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.806e-05/0.001492, allocations: 3.984 kB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.614e-05/0.001558, allocations: 7.984 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.001631, allocations: 27.86 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.001744, allocations: 21.2 kB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.242e-05/0.001777, allocations: 19.98 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.595e-05/0.001803, allocations: 11.98 kB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.001822, allocations: 0.625 kB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.001832, allocations: 4 kB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.001861, allocations: 13.33 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.001893, allocations: 11.94 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.135e-05/0.001974, allocations: 35.83 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.001978, allocations: 4 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.001978, allocations: 0.8438 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.001982, allocations: 7.938 kB / 0.788 GB, free: 11.58 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.0003399/0.002321, allocations: 365.2 kB / 0.7883 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.002368, allocations: 12.72 kB / 0.7884 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.002409, allocations: 8.891 kB / 0.7884 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.002529, allocations: 129.4 kB / 0.7885 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.002536, allocations: 384 / 0.7885 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.00255, allocations: 9.031 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.154e-05/0.002641, allocations: 50.19 kB / 0.7885 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.002651, allocations: 9.781 kB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.002661, allocations: 4.375 kB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.002668, allocations: 384 / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.002701, allocations: 23.92 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.003069, allocations: 0.5292 MB / 0.7891 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.027e-05/0.00315, allocations: 266.8 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.003183, allocations: 126.9 kB / 0.7895 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.003211, allocations: 123.2 kB / 0.7896 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.003255, allocations: 158.2 kB / 0.7897 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.003256, allocations: 0 / 0.7897 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.377e-05/0.003309, allocations: 37.59 kB / 0.7898 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.003358, allocations: 170.6 kB / 0.7899 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.003449, allocations: 178.6 kB / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.003461, allocations: 25.7 kB / 0.7901 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.00352, allocations: 150.2 kB / 0.7903 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.003523, allocations: 0.6094 kB / 0.7903 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.003549, allocations: 19.38 kB / 0.7903 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.003669, allocations: 0.4883 MB / 0.7908 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.003678, allocations: 0 / 0.7908 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.003686, allocations: 4 kB / 0.7908 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.003713, allocations: 11.67 kB / 0.7908 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.003715, allocations: 0 / 0.7908 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.576e-05/0.003801, allocations: 42.31 kB / 0.7908 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.003811, allocations: 4.531 kB / 0.7908 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.003815, allocations: 0 / 0.7908 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.003827, allocations: 0.875 kB / 0.7908 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.506e-05/0.003872, allocations: 4 kB / 0.7908 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.003877, allocations: 1.125 kB / 0.7908 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.415e-05/0.003891, allocations: 7.984 kB / 0.7909 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.003899, allocations: 0.5312 kB / 0.7909 GB, free: 8.457 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 9.276e-05/0.003992, allocations: 281.1 kB / 0.7911 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.004038, allocations: 152.8 kB / 0.7913 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.00408, allocations: 152.4 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.378e-05/0.004134, allocations: 264.2 kB / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.915e-05/0.004193, allocations: 281.2 kB / 0.7919 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-05/0.00425, allocations: 264.1 kB / 0.7922 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.004424, allocations: 0.5115 MB / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-05/0.004458, allocations: 145.7 kB / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.489e-05/0.004493, allocations: 148.8 kB / 0.793 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.584e-05/0.004558, allocations: 276.7 kB / 0.7932 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.00462, allocations: 265.4 kB / 0.7935 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.896e-05/0.004679, allocations: 268 kB / 0.7937 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-05/0.004748, allocations: 272.1 kB / 0.794 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.004874, allocations: 455.8 kB / 0.7944 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.004909, allocations: 149.5 kB / 0.7946 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/0.004971, allocations: 268 kB / 0.7948 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.005026, allocations: 155.2 kB / 0.795 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.005085, allocations: 272.1 kB / 0.7952 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.005116, allocations: 148.8 kB / 0.7954 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.005157, allocations: 131.2 kB / 0.7955 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005157, allocations: 0 / 0.7955 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001419/0.005299, allocations: 11.94 kB / 0.7955 GB, free: 3.492 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 8.719e-05/0.005386, allocations: 221.8 kB / 0.7957 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.569e-05/0.005442, allocations: 11.69 kB / 0.7957 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.005444, allocations: 0 / 0.7957 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.005446, allocations: 3.938 kB / 0.7957 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.00576, allocations: 0.7083 MB / 0.7964 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002242/0.005984, allocations: 261.3 kB / 0.7967 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.301e-05/0.006017, allocations: 64.34 kB / 0.7967 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.506e-05/0.006033, allocations: 4 kB / 0.7967 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.006052, allocations: 8.5 kB / 0.7968 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.006053, allocations: 0.5 kB / 0.7968 GB, free: 2.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.001672/0.007725, allocations: 320.2 kB / 0.7971 GB, free: 1.859 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.993646856863052]