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.00138/0.00138, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001653/0.001653, allocations: 193.9 kB / 16.14 MB, free: 6.66 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.508/1.508, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.553/2.553, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 71.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8204/0.8216, allocations: 140.4 MB / 0.9489 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001911/0.8236, allocations: 0.7137 MB / 0.9496 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000148/0.8238, allocations: 10.69 kB / 0.9497 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.815e-05/0.8238, allocations: 1.375 kB / 0.9497 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.8239, allocations: 0 / 0.9497 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.824, allocations: 5.312 kB / 0.9497 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.549e-05/0.8241, allocations: 1.375 kB / 0.9497 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.342e-05/0.8242, allocations: 25.55 kB / 0.9497 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.8243, allocations: 32.48 kB / 0.9497 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.117e-05/0.8244, allocations: 13.42 kB / 0.9497 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.8244, allocations: 14.67 kB / 0.9497 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.8244, allocations: 6.75 kB / 0.9497 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.773e-05/0.8245, allocations: 2.75 kB / 0.9497 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.8245, allocations: 6.75 kB / 0.9498 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.8246, allocations: 19.98 kB / 0.9498 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.859e-05/0.8247, allocations: 44.19 kB / 0.9498 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.8247, allocations: 0 / 0.9498 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.02e-07/0.8247, allocations: 3.938 kB / 0.9498 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.8247, allocations: 1.375 kB / 0.9498 GB, free: 8.633 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.0003653/0.825, allocations: 355 kB / 0.9502 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.8251, allocations: 9.625 kB / 0.9502 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.8252, allocations: 7.688 kB / 0.9502 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.8253, allocations: 184.4 kB / 0.9504 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.8253, allocations: 5.75 kB / 0.9504 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.8254, allocations: 4.5 kB / 0.9504 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.8255, allocations: 74.97 kB / 0.9504 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.8255, allocations: 1.562 kB / 0.9504 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.8256, allocations: 7.938 kB / 0.9504 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.8256, allocations: 5.359 kB / 0.9504 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.8257, allocations: 48.78 kB / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.8261, allocations: 488.2 kB / 0.951 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.52e-05/0.8262, allocations: 170.1 kB / 0.9511 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.8262, allocations: 80.14 kB / 0.9512 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.8262, allocations: 76.91 kB / 0.9513 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.8263, allocations: 113.8 kB / 0.9514 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.8263, allocations: 0 / 0.9514 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.101e-05/0.8264, allocations: 36.58 kB / 0.9514 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.8264, allocations: 128.2 kB / 0.9515 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.8265, allocations: 177.6 kB / 0.9517 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-06/0.8266, allocations: 25.7 kB / 0.9517 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.8266, allocations: 91.3 kB / 0.9518 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.8266, allocations: 1.484 kB / 0.9518 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.8266, allocations: 24.09 kB / 0.9518 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.8267, allocations: 321.5 kB / 0.9522 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.8267, allocations: 4.188 kB / 0.9522 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/0.8267, allocations: 12.27 kB / 0.9522 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.8268, allocations: 14.44 kB / 0.9522 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8268, allocations: 0 / 0.9522 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001178/0.8269, allocations: 51.38 kB / 0.9522 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.8269, allocations: 9.312 kB / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.8269, allocations: 0 / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.827, allocations: 1.344 kB / 0.9522 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.827, allocations: 6.469 kB / 0.9522 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.827, allocations: 3.938 kB / 0.9522 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.8271, allocations: 7.781 kB / 0.9523 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.8271, allocations: 2.188 kB / 0.9523 GB, free: 6.148 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.61e-05/0.8272, allocations: 194.8 kB / 0.9524 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.8272, allocations: 107.5 kB / 0.9525 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.8273, allocations: 120.4 kB / 0.9527 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/0.8273, allocations: 181.5 kB / 0.9528 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.04e-05/0.8273, allocations: 185.5 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.86e-05/0.8274, allocations: 185.5 kB / 0.9532 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.8275, allocations: 424.8 kB / 0.9536 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/0.8275, allocations: 106.2 kB / 0.9537 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.8276, allocations: 103.6 kB / 0.9538 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-05/0.8276, allocations: 181.5 kB / 0.954 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.8276, allocations: 176.3 kB / 0.9541 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.033e-05/0.8277, allocations: 181.6 kB / 0.9543 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.478e-05/0.8277, allocations: 193.5 kB / 0.9545 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.79e-05/0.8278, allocations: 305.8 kB / 0.9548 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.8278, allocations: 193 kB / 0.955 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.8279, allocations: 177.4 kB / 0.9551 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-05/0.828, allocations: 106.4 kB / 0.9552 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.828, allocations: 185.4 kB / 0.9554 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.828, allocations: 106.5 kB / 0.9555 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.254e-05/0.8281, allocations: 133.7 kB / 0.9556 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8281, allocations: 0 / 0.9556 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002179/0.8283, allocations: 5.469 kB / 0.9557 GB, free: 2.527 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.0001193/0.8285, allocations: 181.2 kB / 0.9558 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.267e-05/0.8286, allocations: 13.78 kB / 0.9558 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8286, allocations: 0 / 0.9558 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.8286, allocations: 0 / 0.9558 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.829, allocations: 0.5244 MB / 0.9563 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.8292, allocations: 231.8 kB / 0.9566 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.8294, allocations: 0.6887 MB / 0.9572 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.571e-05/0.8294, allocations: 5.875 kB / 0.9572 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.8294, allocations: 10.22 kB / 0.9573 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.8294, allocations: 0 / 0.9573 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of Templates: time 0.002401/0.8318, allocations: 465.5 kB / 0.9577 GB, free: 0.6562 MB / 0.7169 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