Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001518, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002145/0.002145, allocations: 190 kB / 16.25 MB, free: 6.633 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.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.577/2.577, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 71.91 kB / 0.8121 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.919/0.9207, allocations: 140.4 MB / 0.9491 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.002026/0.9228, allocations: 0.7182 MB / 0.9498 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000159/0.9229, allocations: 14.42 kB / 0.9498 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.923, allocations: 1.438 kB / 0.9498 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001169/0.9231, allocations: 0 / 0.9498 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.976e-05/0.9232, allocations: 1.062 kB / 0.9498 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.863e-05/0.9233, allocations: 5.344 kB / 0.9498 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.9234, allocations: 49.41 kB / 0.9499 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.9236, allocations: 28.33 kB / 0.9499 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.9236, allocations: 17.36 kB / 0.9499 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.402e-05/0.9236, allocations: 15.86 kB / 0.9499 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.9237, allocations: 2.656 kB / 0.9499 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.9237, allocations: 2.531 kB / 0.95 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.9237, allocations: 7.781 kB / 0.95 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.9237, allocations: 21.44 kB / 0.95 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.298e-05/0.9238, allocations: 44.38 kB / 0.95 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.9239, allocations: 0 / 0.95 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.775e-06/0.9239, allocations: 0 / 0.95 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.9239, allocations: 1.188 kB / 0.95 GB, free: 8.527 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.000316/0.9242, allocations: 353.7 kB / 0.9504 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.9242, allocations: 9.5 kB / 0.9504 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.9243, allocations: 7 kB / 0.9504 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.9244, allocations: 192.3 kB / 0.9506 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.9245, allocations: 6.094 kB / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.9245, allocations: 8.156 kB / 0.9506 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.9247, allocations: 71.73 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.9247, allocations: 192 / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.9247, allocations: 5.156 kB / 0.9506 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9247, allocations: 5.125 kB / 0.9507 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.536e-05/0.9248, allocations: 52.06 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004472/0.9252, allocations: 484.7 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.407e-05/0.9253, allocations: 170.4 kB / 0.9513 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.9253, allocations: 80.14 kB / 0.9514 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.9253, allocations: 80.78 kB / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.9254, allocations: 109.8 kB / 0.9516 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.9254, allocations: 0 / 0.9516 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.502e-05/0.9255, allocations: 32.64 kB / 0.9516 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.9255, allocations: 131.9 kB / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.9257, allocations: 174.4 kB / 0.9519 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.9257, allocations: 29.7 kB / 0.9519 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.962e-05/0.9257, allocations: 94.78 kB / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-06/0.9257, allocations: 1.281 kB / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.9258, allocations: 20.02 kB / 0.952 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.595e-05/0.9258, allocations: 317.3 kB / 0.9523 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.9259, allocations: 11.86 kB / 0.9524 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.9259, allocations: 5.312 kB / 0.9524 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.9259, allocations: 22.06 kB / 0.9524 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9259, allocations: 0 / 0.9524 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001141/0.926, allocations: 48.31 kB / 0.9524 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.9261, allocations: 8.969 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.9261, allocations: 3.984 kB / 0.9524 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.9261, allocations: 0 / 0.9524 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.9262, allocations: 3.594 kB / 0.9524 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.9262, allocations: 3.938 kB / 0.9525 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.9262, allocations: 8.531 kB / 0.9525 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.9262, allocations: 1.062 kB / 0.9525 GB, free: 6.043 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.24e-05/0.9263, allocations: 194.6 kB / 0.9526 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.9263, allocations: 107.9 kB / 0.9527 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.9264, allocations: 117.1 kB / 0.9529 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/0.9264, allocations: 180.2 kB / 0.953 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.215e-05/0.9264, allocations: 182 kB / 0.9532 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.35e-05/0.9265, allocations: 193.8 kB / 0.9534 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.9266, allocations: 412.7 kB / 0.9538 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.9267, allocations: 110.5 kB / 0.9539 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.9267, allocations: 107.7 kB / 0.954 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-05/0.9267, allocations: 180.3 kB / 0.9542 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.9268, allocations: 185.4 kB / 0.9543 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.424e-05/0.9268, allocations: 181.5 kB / 0.9545 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.382e-05/0.9268, allocations: 185.5 kB / 0.9547 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.167e-05/0.9269, allocations: 309.3 kB / 0.955 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.927, allocations: 188.7 kB / 0.9552 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/0.927, allocations: 181.6 kB / 0.9553 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.259e-05/0.9271, allocations: 111.9 kB / 0.9554 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.9271, allocations: 184.2 kB / 0.9556 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.9271, allocations: 106.7 kB / 0.9557 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.178e-05/0.9272, allocations: 134 kB / 0.9559 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9272, allocations: 0 / 0.9559 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002144/0.9275, allocations: 8.125 kB / 0.9559 GB, free: 2.414 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.0001469/0.9276, allocations: 177.8 kB / 0.956 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.403e-05/0.9277, allocations: 13.42 kB / 0.956 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9277, allocations: 1.375 kB / 0.956 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.9277, allocations: 0 / 0.956 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.9281, allocations: 466.5 kB / 0.9565 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.9284, allocations: 219.3 kB / 0.9567 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.9286, allocations: 0.7001 MB / 0.9574 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.767e-05/0.9286, allocations: 9.578 kB / 0.9574 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.9287, allocations: 9.375 kB / 0.9574 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9287, allocations: 0 / 0.9574 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of Templates: time 0.002559/0.9312, allocations: 477.3 kB / 0.9579 GB, free: 0.6094 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches