Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009924/0.0009923, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01002/0.01002, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.549/2.549, allocations: 390.9 MB / 0.6663 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004007, allocations: 12 kB / 0.816 GB, free: 13.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8913/0.8917, allocations: 142.4 MB / 0.9551 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0008579/0.8926, allocations: 391.3 kB / 0.9554 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001566/0.8928, allocations: 2.156 kB / 0.9554 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.8928, allocations: 7.875 kB / 0.9554 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.8929, allocations: 9.328 kB / 0.9554 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.893, allocations: 0 / 0.9554 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.989e-05/0.8931, allocations: 2.312 kB / 0.9554 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.903e-05/0.8932, allocations: 26.33 kB / 0.9555 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.8933, allocations: 31.75 kB / 0.9555 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.028e-05/0.8933, allocations: 10.78 kB / 0.9555 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.991e-05/0.8934, allocations: 10.5 kB / 0.9555 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.8934, allocations: 1.375 kB / 0.9555 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.8934, allocations: 1.406 kB / 0.9555 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.8934, allocations: 6.594 kB / 0.9555 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.8935, allocations: 40.61 kB / 0.9556 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.738e-05/0.8936, allocations: 43.91 kB / 0.9556 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8936, allocations: 0 / 0.9556 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8936, allocations: 0 / 0.9556 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.8936, allocations: 1.094 kB / 0.9556 GB, free: 7.422 MB / 0.7169 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.0002623/0.8939, allocations: 343.5 kB / 0.9559 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.8939, allocations: 9.25 kB / 0.956 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.894, allocations: 7.281 kB / 0.956 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.8941, allocations: 180.1 kB / 0.9561 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.8941, allocations: 10.72 kB / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.8941, allocations: 3.656 kB / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.8943, allocations: 74.97 kB / 0.9562 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.8943, allocations: 1.344 kB / 0.9562 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.8943, allocations: 15.86 kB / 0.9562 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.8944, allocations: 1.062 kB / 0.9562 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.497e-05/0.8944, allocations: 49.25 kB / 0.9563 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.8949, allocations: 488.4 kB / 0.9567 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.01e-05/0.895, allocations: 166.5 kB / 0.9569 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.895, allocations: 80.14 kB / 0.957 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.895, allocations: 79.28 kB / 0.9571 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.895, allocations: 114.8 kB / 0.9572 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.863e-06/0.895, allocations: 1.422 kB / 0.9572 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.515e-05/0.8951, allocations: 35.83 kB / 0.9572 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.8952, allocations: 127.9 kB / 0.9573 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.8953, allocations: 178.7 kB / 0.9575 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-06/0.8953, allocations: 25.7 kB / 0.9575 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.8954, allocations: 96.33 kB / 0.9576 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.8954, allocations: 0 / 0.9576 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.8954, allocations: 9.719 kB / 0.9576 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.8955, allocations: 321.5 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.8955, allocations: 3.969 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.345e-05/0.8955, allocations: 8.016 kB / 0.9579 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.483e-05/0.8955, allocations: 18.8 kB / 0.958 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8955, allocations: 0 / 0.958 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001201/0.8957, allocations: 59.86 kB / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.8957, allocations: 4.75 kB / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.8957, allocations: 1.156 kB / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.8957, allocations: 0 / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.8958, allocations: 3.438 kB / 0.958 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8958, allocations: 7.922 kB / 0.958 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.769e-05/0.8958, allocations: 3.625 kB / 0.958 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.8959, allocations: 5.188 kB / 0.958 GB, free: 4.945 MB / 0.7169 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.454e-05/0.8959, allocations: 199.1 kB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.896, allocations: 112.4 kB / 0.9583 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.111e-05/0.896, allocations: 116.5 kB / 0.9584 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/0.896, allocations: 185.4 kB / 0.9586 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/0.8961, allocations: 181.6 kB / 0.9588 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/0.8961, allocations: 180.3 kB / 0.959 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.8963, allocations: 429.8 kB / 0.9594 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.8963, allocations: 102 kB / 0.9595 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.8963, allocations: 106 kB / 0.9596 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.596e-05/0.8963, allocations: 178.8 kB / 0.9597 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.8964, allocations: 177.2 kB / 0.9599 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.781e-05/0.8964, allocations: 185.1 kB / 0.9601 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-05/0.8964, allocations: 185.3 kB / 0.9603 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.643e-05/0.8965, allocations: 313.4 kB / 0.9606 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.743e-05/0.8966, allocations: 194.5 kB / 0.9608 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.8966, allocations: 181.4 kB / 0.9609 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.185e-05/0.8967, allocations: 110.1 kB / 0.961 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.8967, allocations: 185.3 kB / 0.9612 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.8968, allocations: 102.5 kB / 0.9613 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.461e-05/0.8968, allocations: 133.9 kB / 0.9614 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8969, allocations: 0 / 0.9614 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002288/0.8971, allocations: 4.438 kB / 0.9614 GB, free: 1.316 MB / 0.7169 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.0001368/0.8972, allocations: 182.3 kB / 0.9616 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.44e-05/0.8973, allocations: 9.438 kB / 0.9616 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8973, allocations: 4 kB / 0.9616 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.8973, allocations: 0 / 0.9616 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.8977, allocations: 0.5184 MB / 0.9621 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.898, allocations: 231.4 kB / 0.9624 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.8982, allocations: 0.6898 MB / 0.963 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.8982, allocations: 4.406 kB / 0.963 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.8983, allocations: 10.5 kB / 0.963 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.8983, allocations: 0 / 0.963 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.00284/0.9011, allocations: 444.5 kB / 0.9635 GB, free: 15.46 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches