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.007201/0.007201, allocations: 100.4 kB / 15.73 MB, free: 5.98 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.001194/0.001194, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.525/2.525, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 69.55 kB / 0.9509 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3115, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.00218/0.3137, allocations: 0.7563 MB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009695/0.3147, allocations: 0.8471 MB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.3148, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.3148, allocations: 11.92 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.315, allocations: 7.875 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.3151, allocations: 23.97 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.3152, allocations: 67.89 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.3153, allocations: 27.97 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.687e-05/0.3154, allocations: 31.86 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.3155, allocations: 39.77 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.3155, allocations: 8 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.3156, allocations: 8 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.3156, allocations: 15.97 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.3157, allocations: 35.8 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.3158, allocations: 71.75 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3158, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3158, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3158, allocations: 4 kB / 1.09 GB, free: 15.5 MB / 0.8575 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.0005626/0.3164, allocations: 375.2 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3164, allocations: 12.03 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.3165, allocations: 4.844 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.3166, allocations: 188.2 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3166, allocations: 384 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.3167, allocations: 4.375 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.3169, allocations: 90.14 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.3169, allocations: 192 / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3169, allocations: 3.938 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.3169, allocations: 4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.3172, allocations: 67.94 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.3177, allocations: 324.6 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/0.318, allocations: 86.53 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.3181, allocations: 40.92 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3181, allocations: 7.984 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.3182, allocations: 30.56 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3182, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004741/0.3186, allocations: 137.5 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.3187, allocations: 51.41 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3188, allocations: 121.9 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3188, allocations: 29.7 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.3189, allocations: 99.97 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.3189, allocations: 19.66 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.319, allocations: 21.7 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3191, allocations: 326.8 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3192, allocations: 27.98 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.3194, allocations: 31.97 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.3196, allocations: 72.75 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3196, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002667/0.3199, allocations: 101.6 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3199, allocations: 5.562 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3199, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3199, allocations: 4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.32, allocations: 11.98 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3201, allocations: 7.984 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.517e-05/0.3201, allocations: 8.344 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3202, allocations: 4 kB / 1.092 GB, free: 13 MB / 0.8575 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 7.798e-05/0.3202, allocations: 121.8 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.3203, allocations: 4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.39e-05/0.3203, allocations: 12.38 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3203, allocations: 3.938 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.3203, allocations: 4 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3203, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.3205, allocations: 193.5 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3205, allocations: 4 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.3207, allocations: 15.97 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3207, allocations: 8 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3207, allocations: 4 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3207, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3207, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.321, allocations: 199.4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.3211, allocations: 84.95 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.3211, allocations: 3.984 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3212, allocations: 11.94 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.3213, allocations: 15.92 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3213, allocations: 7.984 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.385e-05/0.3214, allocations: 91.28 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3214, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002212/0.3216, allocations: 12 kB / 1.093 GB, free: 12.12 MB / 0.8575 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.0001402/0.3217, allocations: 103.2 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.322, allocations: 75.88 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.322, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.3222, allocations: 47.91 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.3226, allocations: 3.938 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.3232, allocations: 173.5 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.3235, allocations: 0.6963 MB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.531e-05/0.3236, allocations: 11.73 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.3237, allocations: 15.44 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3237, allocations: 0 / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of Templates: time 0.003457/0.3271, allocations: 1.273 MB / 1.095 GB, free: 9.672 MB / 0.8575 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/jenkins/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