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.001448/0.001448, allocations: 101.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.001744/0.001744, allocations: 200.1 kB / 17.3 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 14.98 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.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 70.25 kB / 0.814 GB, free: 32.54 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3123, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin): time 0.002073/0.3144, allocations: 0.6568 MB / 0.9518 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000174/0.3146, allocations: 8 kB / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.3147, allocations: 3.938 kB / 0.9518 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.765e-05/0.3148, allocations: 0 / 0.9518 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.411e-05/0.3148, allocations: 0 / 0.9518 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.823e-05/0.3149, allocations: 7.984 kB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.3151, allocations: 39.86 kB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.3152, allocations: 39.97 kB / 0.9519 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.643e-05/0.3152, allocations: 15.94 kB / 0.9519 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.649e-05/0.3153, allocations: 15.92 kB / 0.9519 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.3153, allocations: 4 kB / 0.9519 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.7e-05/0.3154, allocations: 4 kB / 0.9519 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.3154, allocations: 8 kB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.3155, allocations: 27.73 kB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.12e-05/0.3156, allocations: 47.8 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3156, allocations: 0 / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3156, allocations: 0 / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.3156, allocations: 3.938 kB / 0.952 GB, free: 7.176 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.0003567/0.316, allocations: 360.5 kB / 0.9523 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.316, allocations: 8.031 kB / 0.9523 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.316, allocations: 8.844 kB / 0.9524 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.3162, allocations: 176.4 kB / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3162, allocations: 4.375 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.3163, allocations: 384 / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.3164, allocations: 82.22 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3165, allocations: 192 / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3165, allocations: 3.938 kB / 0.9526 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.3165, allocations: 4 kB / 0.9526 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.3166, allocations: 59.91 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.3171, allocations: 487 kB / 0.9531 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.574e-05/0.3172, allocations: 169.1 kB / 0.9533 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.3172, allocations: 80.14 kB / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.3173, allocations: 79.28 kB / 0.9534 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.3173, allocations: 109.8 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3173, allocations: 0 / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.23e-05/0.3174, allocations: 33.55 kB / 0.9536 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.3175, allocations: 130.7 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.3177, allocations: 173.7 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.3177, allocations: 25.7 kB / 0.9539 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.3178, allocations: 100 kB / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.3178, allocations: 0 / 0.954 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.3178, allocations: 17.72 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.318, allocations: 318.8 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.318, allocations: 11.98 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.318, allocations: 6.109 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.3181, allocations: 16.84 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3181, allocations: 64 / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001162/0.3182, allocations: 53.62 kB / 0.9544 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3182, allocations: 6.188 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3182, allocations: 0 / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3182, allocations: 0 / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.3183, allocations: 4 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3183, allocations: 3.938 kB / 0.9544 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.272e-05/0.3184, allocations: 19.83 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.3184, allocations: 0 / 0.9544 GB, free: 4.449 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.0001211/0.3185, allocations: 197.1 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.99e-05/0.3186, allocations: 112.9 kB / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.199e-05/0.3187, allocations: 116.8 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-05/0.3187, allocations: 176.3 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.816e-05/0.3188, allocations: 184.1 kB / 0.9552 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-05/0.3189, allocations: 184.2 kB / 0.9554 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.3191, allocations: 421.2 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-05/0.3192, allocations: 108.9 kB / 0.9559 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.3192, allocations: 101.1 kB / 0.956 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.026e-05/0.3193, allocations: 184.1 kB / 0.9561 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.3193, allocations: 184.2 kB / 0.9563 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.785e-05/0.3194, allocations: 188.3 kB / 0.9565 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-05/0.3195, allocations: 184.1 kB / 0.9567 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.3196, allocations: 303.8 kB / 0.957 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.243e-05/0.3197, allocations: 190 kB / 0.9571 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/0.3198, allocations: 180.3 kB / 0.9573 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.3199, allocations: 109.2 kB / 0.9574 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.32, allocations: 184.2 kB / 0.9576 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.32, allocations: 116.9 kB / 0.9577 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.164e-05/0.3201, allocations: 127.2 kB / 0.9578 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3201, allocations: 0 / 0.9578 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002569/0.3204, 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.0002144/0.3206, allocations: 182.5 kB / 0.958 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.561e-05/0.3207, allocations: 8 kB / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3207, allocations: 0 / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.3207, allocations: 0 / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.3212, allocations: 467.6 kB / 0.9585 GB, free: 92 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.3215, allocations: 216.4 kB / 0.9587 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3218, allocations: 0.7 MB / 0.9593 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.3219, 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.565e-05/0.3219, allocations: 11.44 kB / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of SimCode: time 1.9e-07/0.3219, allocations: 0 / 0.9594 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of Templates: time 0.002882/0.3248, allocations: 466.6 kB / 0.9598 GB, free: 14.66 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 gbode -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