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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0019/0.001899, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.002282/0.002282, allocations: 191 kB / 17.29 MB, free: 5.516 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.495/1.495, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.09 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.318, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.002101/0.3202, allocations: 0.6374 MB / 0.9518 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001519/0.3204, allocations: 11.98 kB / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.3204, allocations: 0 / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.128e-05/0.3205, allocations: 7.938 kB / 0.9518 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.43e-05/0.3205, allocations: 4 kB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.652e-05/0.3206, allocations: 0 / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.3207, allocations: 43.84 kB / 0.9518 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3209, allocations: 35.98 kB / 0.9519 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.812e-05/0.3209, allocations: 19.92 kB / 0.9519 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.321, allocations: 19.92 kB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.321, allocations: 0 / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.321, allocations: 4 kB / 0.9519 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.321, allocations: 11.94 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.3211, allocations: 23.8 kB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.771e-05/0.3212, allocations: 35.89 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.3212, allocations: 4 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.215e-06/0.3212, allocations: 3.938 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3212, allocations: 0 / 0.952 GB, free: 7.18 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.000417/0.3216, allocations: 359.3 kB / 0.9523 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3217, allocations: 12.03 kB / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.3217, allocations: 4.844 kB / 0.9523 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.3219, allocations: 180.3 kB / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3219, allocations: 8.375 kB / 0.9525 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.3219, allocations: 4.375 kB / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.3221, allocations: 74.22 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3221, allocations: 192 / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3221, allocations: 7.938 kB / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3221, allocations: 7.984 kB / 0.9526 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.233e-05/0.3222, allocations: 55.91 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.3227, allocations: 483 kB / 0.9531 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/0.3228, allocations: 169.1 kB / 0.9533 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.3228, allocations: 84.14 kB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3229, allocations: 79.28 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.238e-05/0.3229, allocations: 109.8 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.3229, allocations: 0 / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.046e-05/0.323, allocations: 33.61 kB / 0.9536 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.3231, allocations: 130.6 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.3232, allocations: 171.8 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.3233, allocations: 33.69 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.3233, allocations: 96.05 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.3233, allocations: 4 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.3234, allocations: 9.719 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3235, allocations: 322.8 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.896e-05/0.3235, allocations: 8 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.3235, allocations: 14.09 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.3236, allocations: 8.859 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3236, allocations: 0 / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001319/0.3237, allocations: 57.73 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3237, allocations: 7.938 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3238, allocations: 0 / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3238, allocations: 0 / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.396e-05/0.3238, allocations: 4 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.3239, allocations: 3.938 kB / 0.9544 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.895e-05/0.3239, allocations: 11.84 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.3239, allocations: 4 kB / 0.9544 GB, free: 4.445 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.0001253/0.324, allocations: 203 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.3241, allocations: 108.9 kB / 0.9547 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.3242, allocations: 120.8 kB / 0.9548 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.738e-05/0.3243, allocations: 176.3 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.845e-05/0.3243, allocations: 180.2 kB / 0.9552 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.879e-05/0.3244, allocations: 184.2 kB / 0.9554 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002352/0.3246, allocations: 425.2 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.761e-05/0.3247, allocations: 105 kB / 0.9559 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.274e-05/0.3247, allocations: 104.9 kB / 0.956 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.026e-05/0.3248, allocations: 176.3 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/0.3249, allocations: 184.2 kB / 0.9563 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.068e-05/0.3249, allocations: 184.3 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.039e-05/0.325, allocations: 192.1 kB / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.3252, allocations: 299.8 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-05/0.3252, allocations: 193.9 kB / 0.9571 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.263e-05/0.3253, allocations: 180.3 kB / 0.9573 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-05/0.3254, allocations: 109.2 kB / 0.9574 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.193e-05/0.3255, allocations: 180.2 kB / 0.9576 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.3256, allocations: 109 kB / 0.9577 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.836e-05/0.3257, allocations: 136.9 kB / 0.9578 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3257, allocations: 0 / 0.9578 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000218/0.3259, allocations: 4 kB / 0.9578 GB, free: 0.7461 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.0001744/0.3261, allocations: 182.5 kB / 0.958 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.881e-05/0.3262, allocations: 8 kB / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3262, allocations: 0 / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.3262, allocations: 4 kB / 0.958 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.3267, allocations: 455.7 kB / 0.9584 GB, free: 100 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.327, allocations: 216.4 kB / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3273, allocations: 0.7038 MB / 0.9593 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.3273, allocations: 4 kB / 0.9593 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.3273, allocations: 11.44 kB / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.3273, allocations: 0 / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of Templates: time 0.002574/0.3299, allocations: 475.1 kB / 0.9598 GB, free: 14.65 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 -s cvode -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