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.0008614/0.0008614, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008485/0.0008485, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8957/0.8957, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.634/1.634, allocations: 359 MB / 0.6044 GB, free: 11.08 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.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 1.683e-06/1.683e-06, allocations: 0 / 0.9518 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.276e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001097/0.001119, allocations: 0.6561 MB / 0.9524 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001418/0.001261, allocations: 7.938 kB / 0.9524 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.001301, allocations: 7.938 kB / 0.9525 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.404e-05/0.001395, allocations: 3.984 kB / 0.9525 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.001433, allocations: 0 / 0.9525 GB, free: 2.223 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 6.67e-05/0.001499, allocations: 4 kB / 0.9525 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.92e-05/0.001579, allocations: 27.86 kB / 0.9525 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.001699, allocations: 31.91 kB / 0.9525 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.169e-05/0.001731, allocations: 15.98 kB / 0.9525 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.714e-05/0.001758, allocations: 11.98 kB / 0.9525 GB, free: 2.133 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.001782, allocations: 4 kB / 0.9525 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.001792, allocations: 4 kB / 0.9526 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.001823, allocations: 15.92 kB / 0.9526 GB, free: 2.109 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.001848, allocations: 8 kB / 0.9526 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.797e-05/0.001936, allocations: 43.86 kB / 0.9526 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.001939, allocations: 4 kB / 0.9526 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.22e-07/0.00194, allocations: 0 / 0.9526 GB, free: 2.055 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.001944, allocations: 0 / 0.9526 GB, free: 2.055 MB / 0.9011 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.0002761/0.00222, allocations: 286.1 kB / 0.9529 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.002254, allocations: 8.031 kB / 0.9529 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.002282, allocations: 8.891 kB / 0.9529 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.002403, allocations: 125.6 kB / 0.953 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.002412, allocations: 4.375 kB / 0.953 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.002421, allocations: 4.375 kB / 0.953 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.002801, allocations: 74.23 kB / 0.9531 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.00281, allocations: 192 / 0.9531 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.00282, allocations: 4.375 kB / 0.9531 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.002824, allocations: 384 / 0.9531 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.261e-05/0.002877, allocations: 47.91 kB / 0.9532 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.003213, allocations: 422.8 kB / 0.9536 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.003274, allocations: 173.1 kB / 0.9537 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.003295, allocations: 80.14 kB / 0.9538 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.003313, allocations: 79.22 kB / 0.9539 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.003344, allocations: 105.8 kB / 0.954 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.003345, allocations: 0 / 0.954 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 5.249e-05/0.003397, allocations: 33.69 kB / 0.954 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.00344, allocations: 126.7 kB / 0.9541 GB, free: 376 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.00352, allocations: 121.8 kB / 0.9542 GB, free: 244 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.003527, allocations: 25.7 kB / 0.9543 GB, free: 212 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.003574, allocations: 108 kB / 0.9544 GB, free: 100 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-06/0.003577, allocations: 0 / 0.9544 GB, free: 100 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/0.0036, allocations: 17.72 kB / 0.9544 GB, free: 76 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.003681, allocations: 318.8 kB / 0.9547 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.003694, allocations: 7.984 kB / 0.9547 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.055e-05/0.003704, allocations: 11.94 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.874e-05/0.003733, allocations: 12.84 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.003735, allocations: 0 / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.836e-05/0.003823, allocations: 45.69 kB / 0.9548 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.003833, allocations: 12.09 kB / 0.9548 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.003838, allocations: 3.984 kB / 0.9548 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.00385, allocations: 0 / 0.9548 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.975e-05/0.003899, allocations: 4 kB / 0.9548 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.003903, allocations: 0 / 0.9548 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.003919, allocations: 11.95 kB / 0.9548 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.003927, allocations: 0 / 0.9548 GB, free: 15.64 MB / 0.9167 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 7.258e-05/0.004, allocations: 201 kB / 0.955 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.004032, allocations: 104.9 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.004066, allocations: 112.5 kB / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/0.004105, allocations: 184.2 kB / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.121e-05/0.004146, allocations: 180.2 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.856e-05/0.004184, allocations: 180.9 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.004316, allocations: 368.7 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.508e-05/0.004341, allocations: 109 kB / 0.9562 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.004365, allocations: 113 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.901e-05/0.004404, allocations: 184.2 kB / 0.9565 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.004446, allocations: 176.5 kB / 0.9566 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-05/0.004485, allocations: 188.2 kB / 0.9568 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.166e-05/0.004526, allocations: 176.3 kB / 0.957 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.902e-05/0.004615, allocations: 311.7 kB / 0.9573 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.004645, allocations: 116.9 kB / 0.9574 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.004691, allocations: 176.3 kB / 0.9576 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.674e-05/0.004738, allocations: 105 kB / 0.9577 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.004782, allocations: 184.2 kB / 0.9578 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.004806, allocations: 109 kB / 0.9579 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.099e-05/0.004847, allocations: 99.56 kB / 0.958 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004847, allocations: 0 / 0.958 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001476/0.004995, allocations: 7.938 kB / 0.958 GB, free: 12.13 MB / 0.9167 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.09e-05/0.005076, allocations: 166.5 kB / 0.9582 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.4e-05/0.00514, allocations: 23.92 kB / 0.9582 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.005141, allocations: 0 / 0.9582 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.005142, allocations: 0 / 0.9582 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.005421, allocations: 459.6 kB / 0.9587 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.005653, allocations: 233.8 kB / 0.9589 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.978e-05/0.005703, allocations: 75.23 kB / 0.959 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.005725, allocations: 12.5 kB / 0.959 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of SimCode: time 6.02e-07/0.005726, allocations: 0 / 0.959 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of Templates: time 0.001348/0.007074, allocations: 0.6551 MB / 0.9596 GB, free: 10.46 MB / 0.9167 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=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/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: 6.364650916308165]