Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 102.9 kB / 16.27 MB, free: 6.414 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.001123/0.001123, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.186/2.186, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 64.78 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2987, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.002629/0.3014, allocations: 0.7507 MB / 0.951 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.3025, allocations: 0.841 MB / 0.9518 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.3026, allocations: 4 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.46e-05/0.3027, allocations: 7.875 kB / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.3028, allocations: 7.938 kB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.303, allocations: 31.89 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3032, allocations: 67.83 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.3033, allocations: 27.98 kB / 0.952 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.175e-05/0.3034, allocations: 27.86 kB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.93e-05/0.3035, allocations: 43.88 kB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.3035, allocations: 7.938 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.3035, allocations: 8 kB / 0.9521 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.3036, allocations: 15.98 kB / 0.9521 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.3036, allocations: 31.8 kB / 0.9521 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.3038, allocations: 67.75 kB / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3038, allocations: 0 / 0.9522 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3038, allocations: 4 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3038, allocations: 0 / 0.9522 GB, free: 6.902 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.0006165/0.3044, allocations: 383.4 kB / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3045, allocations: 12.03 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.3045, allocations: 8.844 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3047, allocations: 176.2 kB / 0.9527 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.3047, allocations: 4.375 kB / 0.9527 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.3047, allocations: 4.375 kB / 0.9527 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.305, allocations: 86.14 kB / 0.9528 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.305, allocations: 4.172 kB / 0.9528 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.305, allocations: 11.94 kB / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3051, allocations: 0 / 0.9528 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.3053, allocations: 71.81 kB / 0.9529 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.3058, allocations: 324.7 kB / 0.9532 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.3061, allocations: 86.53 kB / 0.9533 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3062, allocations: 44.86 kB / 0.9533 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.3062, allocations: 0 / 0.9533 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3063, allocations: 34.56 kB / 0.9534 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3063, allocations: 0 / 0.9534 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0005088/0.3068, allocations: 141.5 kB / 0.9535 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.3069, allocations: 55.34 kB / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.752e-05/0.307, allocations: 117.8 kB / 0.9537 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.307, allocations: 25.7 kB / 0.9537 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.307, allocations: 96.03 kB / 0.9538 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.3071, allocations: 19.75 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.3071, allocations: 21.7 kB / 0.9538 GB, free: 5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3073, allocations: 326.8 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3074, allocations: 27.92 kB / 0.9542 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3075, allocations: 31.97 kB / 0.9542 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.3077, allocations: 68.81 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3078, allocations: 0 / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002945/0.3081, allocations: 105.5 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3081, allocations: 8 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3081, allocations: 0 / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.3081, allocations: 0 / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.3083, allocations: 19.92 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3083, allocations: 0 / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/0.3084, allocations: 11.98 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3084, allocations: 112 / 0.9544 GB, free: 4.395 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 (6): * Single equations (assignments): 6 * 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 9.278e-05/0.3085, allocations: 125.7 kB / 0.9545 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.3085, allocations: 7.906 kB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.3086, allocations: 8.375 kB / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3086, allocations: 0 / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3086, allocations: 4.438 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3086, allocations: 0 / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.3088, allocations: 197.5 kB / 0.9547 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3088, allocations: 8 kB / 0.9547 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.3089, allocations: 19.97 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3089, allocations: 0 / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3089, allocations: 0 / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3089, allocations: 0 / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.309, allocations: 0 / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.3093, allocations: 207.3 kB / 0.955 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.3093, allocations: 85.02 kB / 0.955 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.3094, allocations: 4 kB / 0.955 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3095, allocations: 11.98 kB / 0.9551 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.3096, allocations: 11.98 kB / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3096, allocations: 0 / 0.9551 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.881e-05/0.3096, allocations: 95.27 kB / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3096, allocations: 0 / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002354/0.3099, allocations: 15.94 kB / 0.9552 GB, free: 3.516 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 (6): * Single equations (assignments): 6 * 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.0001594/0.31, allocations: 107.2 kB / 0.9553 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.3104, allocations: 87.75 kB / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3104, allocations: 0 / 0.9554 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.3105, allocations: 39.97 kB / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.3108, allocations: 4 kB / 0.9554 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.3114, allocations: 199.1 kB / 0.9556 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3116, allocations: 0.6922 MB / 0.9563 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.3117, allocations: 19.36 kB / 0.9563 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.3117, allocations: 0 / 0.9563 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of Templates: time 0.002741/0.3144, allocations: 1.047 MB / 0.9573 GB, free: 1.262 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches