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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 104.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.741/2.741, allocations: 476.7 MB / 0.7634 GB, free: 11.04 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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 0.002052/0.002052, allocations: 71.88 kB / 1.108 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9487/0.9508, allocations: 168.7 MB / 1.272 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002038/0.9528, allocations: 0.6517 MB / 1.273 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000173/0.953, allocations: 21.83 kB / 1.273 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.9531, allocations: 0 / 1.273 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.9532, allocations: 3.938 kB / 1.273 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/0.9532, allocations: 7.938 kB / 1.273 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.878e-05/0.9533, allocations: 7.938 kB / 1.273 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.875e-05/0.9534, allocations: 23.92 kB / 1.273 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.9536, allocations: 27.98 kB / 1.273 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.085e-05/0.9536, allocations: 19.92 kB / 1.273 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.704e-05/0.9536, allocations: 11.94 kB / 1.273 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.9536, allocations: 4 kB / 1.273 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.9537, allocations: 0 / 1.273 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.9537, allocations: 15.92 kB / 1.273 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.9537, allocations: 19.86 kB / 1.273 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.9539, allocations: 51.47 kB / 1.273 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9539, allocations: 0 / 1.273 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9539, allocations: 4 kB / 1.273 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.9539, allocations: 0 / 1.273 GB, free: 3.75 MB / 0.9669 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.0004431/0.9543, allocations: 350 kB / 1.274 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.9544, allocations: 8.625 kB / 1.274 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.9544, allocations: 12.88 kB / 1.274 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.9546, allocations: 188.2 kB / 1.274 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.9546, allocations: 384 / 1.274 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.9546, allocations: 4.375 kB / 1.274 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.9548, allocations: 78.22 kB / 1.274 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.9548, allocations: 4.188 kB / 1.274 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.9548, allocations: 7.938 kB / 1.274 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.9548, allocations: 0 / 1.274 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.082e-05/0.9549, allocations: 47.97 kB / 1.274 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.9555, allocations: 487.1 kB / 1.274 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.9556, allocations: 177.1 kB / 1.275 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.892e-05/0.9556, allocations: 84.14 kB / 1.275 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.9557, allocations: 75.28 kB / 1.275 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/0.9557, allocations: 105.8 kB / 1.275 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.9557, allocations: 0 / 1.275 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.646e-05/0.9558, allocations: 37.64 kB / 1.275 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.9559, allocations: 126.7 kB / 1.275 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.9561, allocations: 184 kB / 1.275 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.9561, allocations: 25.7 kB / 1.275 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.9562, allocations: 96.08 kB / 1.275 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.9562, allocations: 0 / 1.275 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.9562, allocations: 17.7 kB / 1.275 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.9564, allocations: 314.8 kB / 1.276 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.9564, allocations: 7.984 kB / 1.276 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.524e-05/0.9564, allocations: 8 kB / 1.276 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.892e-05/0.9564, allocations: 20.91 kB / 1.276 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9564, allocations: 3.938 kB / 1.276 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001255/0.9566, allocations: 49.64 kB / 1.276 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.9566, allocations: 4 kB / 1.276 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.9566, allocations: 4 kB / 1.276 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.9566, allocations: 0 / 1.276 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.9567, allocations: 7.922 kB / 1.276 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.9567, allocations: 7.938 kB / 1.276 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.9567, allocations: 11.98 kB / 1.276 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.9567, allocations: 0 / 1.276 GB, free: 1.02 MB / 0.9669 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.0001282/0.9568, allocations: 193.1 kB / 1.276 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-05/0.9569, allocations: 109 kB / 1.276 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.834e-05/0.957, allocations: 116.8 kB / 1.276 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.97e-05/0.9571, allocations: 180.2 kB / 1.276 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.643e-05/0.9572, allocations: 192.2 kB / 1.276 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.976e-05/0.9572, allocations: 180.3 kB / 1.277 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.9575, allocations: 421.1 kB / 1.277 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.861e-05/0.9576, allocations: 104.9 kB / 1.277 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.9576, allocations: 101 kB / 1.277 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-05/0.9577, allocations: 185.8 kB / 1.277 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.263e-05/0.9578, allocations: 188.2 kB / 1.278 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-05/0.9579, allocations: 180.3 kB / 1.278 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.381e-05/0.958, allocations: 184.1 kB / 1.278 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.9581, allocations: 307.8 kB / 1.278 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.9582, allocations: 198 kB / 1.278 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.281e-05/0.9583, allocations: 176.3 kB / 1.279 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.9584, allocations: 112.9 kB / 1.279 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.9585, allocations: 184.2 kB / 1.279 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.9586, allocations: 101 kB / 1.279 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000121/0.9587, allocations: 131.2 kB / 1.279 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9587, allocations: 4 kB / 1.279 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002183/0.9589, allocations: 7.938 kB / 1.279 GB, free: 13.31 MB / 0.9825 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.0001967/0.9591, allocations: 175.1 kB / 1.279 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.079e-05/0.9592, allocations: 16.33 kB / 1.279 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9592, allocations: 0 / 1.279 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.9592, allocations: 0 / 1.279 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.9597, allocations: 468.1 kB / 1.28 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.96, allocations: 237.7 kB / 1.28 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.9604, allocations: 0.6924 MB / 1.281 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.9604, allocations: 11.44 kB / 1.281 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9604, allocations: 3.938 kB / 1.281 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.002347/0.9628, allocations: 0.7677 MB / 1.281 GB, free: 10.89 MB / 0.9825 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] 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/jenkins1/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