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.001562/0.001562, allocations: 108.3 kB / 15.99 MB, free: 6.348 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.001743/0.001743, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.396/1.396, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.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.268/2.268, allocations: 390.2 MB / 0.665 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 72.28 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2744, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.002209/0.2766, allocations: 0.7182 MB / 0.9505 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001734/0.2768, allocations: 11.92 kB / 0.9505 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.2769, allocations: 4 kB / 0.9505 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.277, allocations: 3.984 kB / 0.9505 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.2771, allocations: 0 / 0.9505 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.365e-05/0.2772, allocations: 7.938 kB / 0.9505 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.2773, allocations: 47.91 kB / 0.9506 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.2774, allocations: 28 kB / 0.9506 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.878e-05/0.2775, allocations: 11.92 kB / 0.9506 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.893e-05/0.2775, allocations: 15.92 kB / 0.9506 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2775, allocations: 4 kB / 0.9506 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.2776, allocations: 4 kB / 0.9506 GB, free: 8.367 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.2776, allocations: 15.92 kB / 0.9506 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.2777, allocations: 19.88 kB / 0.9507 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.533e-05/0.2778, allocations: 35.94 kB / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2778, allocations: 0 / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2778, allocations: 0 / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.2778, allocations: 4 kB / 0.9507 GB, free: 8.293 MB / 0.7325 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.0003941/0.2782, allocations: 347.6 kB / 0.951 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2782, allocations: 8.031 kB / 0.951 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.2783, allocations: 8.844 kB / 0.951 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.2785, allocations: 176.3 kB / 0.9512 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.2785, allocations: 4.375 kB / 0.9512 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.2785, allocations: 4.375 kB / 0.9512 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.2787, allocations: 78.22 kB / 0.9513 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2787, allocations: 192 / 0.9513 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2788, allocations: 11.88 kB / 0.9513 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2788, allocations: 4 kB / 0.9513 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.999e-05/0.2789, allocations: 47.97 kB / 0.9514 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.2795, allocations: 493.1 kB / 0.9518 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.2796, allocations: 173.1 kB / 0.952 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.2796, allocations: 92.11 kB / 0.9521 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.986e-05/0.2797, allocations: 75.28 kB / 0.9521 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.2797, allocations: 105.8 kB / 0.9522 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.2797, allocations: 0 / 0.9522 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.293e-05/0.2798, allocations: 33.61 kB / 0.9523 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.2799, allocations: 126.7 kB / 0.9524 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.2801, allocations: 180.1 kB / 0.9526 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.2801, allocations: 29.7 kB / 0.9526 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.2802, allocations: 96.05 kB / 0.9527 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.2802, allocations: 0 / 0.9527 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/0.2802, allocations: 9.719 kB / 0.9527 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2804, allocations: 322.8 kB / 0.953 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.2804, allocations: 11.92 kB / 0.953 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.2804, allocations: 8 kB / 0.953 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.2804, allocations: 16.91 kB / 0.953 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2804, allocations: 0 / 0.953 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001217/0.2806, allocations: 49.69 kB / 0.9531 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2806, allocations: 4 kB / 0.9531 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2806, allocations: 0 / 0.9531 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2806, allocations: 7.984 kB / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.386e-05/0.2807, allocations: 0 / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2807, allocations: 3.938 kB / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.2807, allocations: 19.83 kB / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2808, allocations: 8.047 kB / 0.9531 GB, free: 5.562 MB / 0.7325 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.000105/0.2809, allocations: 197.1 kB / 0.9533 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.2809, allocations: 112.9 kB / 0.9534 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.281, allocations: 116.6 kB / 0.9535 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.517e-05/0.2811, allocations: 180.2 kB / 0.9537 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-05/0.2812, allocations: 180.2 kB / 0.9539 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.947e-05/0.2812, allocations: 192.2 kB / 0.9541 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.2815, allocations: 417.2 kB / 0.9545 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.221e-05/0.2815, allocations: 101 kB / 0.9546 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.2816, allocations: 104.9 kB / 0.9547 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.609e-05/0.2817, allocations: 176.3 kB / 0.9548 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.2818, allocations: 192.2 kB / 0.955 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001223/0.2819, allocations: 180.3 kB / 0.9552 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.147e-05/0.282, allocations: 180.2 kB / 0.9554 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.2822, allocations: 312 kB / 0.9557 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.848e-05/0.2823, allocations: 193.9 kB / 0.9558 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.2824, allocations: 184.3 kB / 0.956 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.008e-05/0.2825, allocations: 104.9 kB / 0.9561 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.2826, allocations: 188.1 kB / 0.9563 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.2826, allocations: 105 kB / 0.9564 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001111/0.2827, allocations: 129.9 kB / 0.9565 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2827, allocations: 0 / 0.9565 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002712/0.283, allocations: 4 kB / 0.9565 GB, free: 1.867 MB / 0.7325 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.0001722/0.2832, allocations: 182.5 kB / 0.9567 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.366e-05/0.2833, allocations: 11.94 kB / 0.9567 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2833, allocations: 4 kB / 0.9567 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.2833, allocations: 0 / 0.9567 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.2838, allocations: 466.4 kB / 0.9572 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.2841, allocations: 246 kB / 0.9574 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.2844, allocations: 0.7 MB / 0.9581 GB, free: 212 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.2844, allocations: 11.44 kB / 0.9581 GB, free: 200 kB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2844, allocations: 0 / 0.9581 GB, free: 200 kB / 0.7325 GB Notification: Performance of Templates: time 0.002114/0.2865, allocations: 0.7536 MB / 0.9588 GB, free: 15.44 MB / 0.7481 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/jenkins1/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