Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000864/0.0008641, allocations: 91.38 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009784/0.0009784, allocations: 180.9 kB / 16.92 MB, free: 6.652 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.782/2.782, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004923, allocations: 13.69 kB / 0.9034 GB, free: 36.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3101, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001051/0.3112, allocations: 488.2 kB / 1.06 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3124, allocations: 0.8506 MB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.3125, allocations: 4 kB / 1.061 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.3126, allocations: 3.938 kB / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.3127, allocations: 0 / 1.061 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.3129, allocations: 31.91 kB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.313, allocations: 59.91 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3131, allocations: 27.83 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.091e-05/0.3132, allocations: 23.86 kB / 1.061 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.918e-05/0.3133, allocations: 35.84 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.3133, allocations: 4 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.218e-05/0.3134, allocations: 0 / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.3134, allocations: 11.98 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.508e-05/0.3135, allocations: 53.48 kB / 1.061 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.368e-05/0.3136, allocations: 55.88 kB / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3136, allocations: 0 / 1.061 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3136, allocations: 4 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3136, allocations: 0 / 1.061 GB, free: 3.316 MB / 0.8106 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.0005943/0.3142, allocations: 367.5 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3142, allocations: 8.031 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.586e-05/0.3143, allocations: 12.84 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3145, allocations: 176.2 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3145, allocations: 8.375 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.3145, allocations: 8.375 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.3148, allocations: 86.14 kB / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3148, allocations: 192 / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3148, allocations: 11.88 kB / 1.062 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.3148, allocations: 4 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.3151, allocations: 79.88 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.3156, allocations: 324.6 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.3159, allocations: 94.53 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.316, allocations: 44.86 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.3161, allocations: 4 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.3161, allocations: 34.56 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3161, allocations: 0 / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0005177/0.3166, allocations: 153.5 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.3167, allocations: 55.41 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3168, allocations: 117.8 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3168, allocations: 25.7 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.3169, allocations: 92.12 kB / 1.063 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.3169, allocations: 19.66 kB / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.317, allocations: 21.7 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3171, allocations: 314.8 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.3172, allocations: 44.02 kB / 1.063 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.3173, allocations: 43.91 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.3176, allocations: 76.81 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3176, allocations: 0 / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003048/0.3179, allocations: 113.5 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3179, allocations: 4 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3179, allocations: 0 / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.318, allocations: 8 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.3181, allocations: 19.92 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3182, allocations: 0 / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.115e-05/0.3182, allocations: 16.42 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3183, allocations: 0 / 1.063 GB, free: 0.75 MB / 0.8106 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.749e-05/0.3184, allocations: 117.8 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.3184, allocations: 7.906 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.3184, allocations: 12.38 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3185, allocations: 4 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3185, allocations: 3.984 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3185, allocations: 4 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.3187, allocations: 193.5 kB / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3187, allocations: 0 / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.3188, allocations: 19.98 kB / 1.064 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3188, allocations: 0 / 1.064 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3188, allocations: 4 kB / 1.064 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3188, allocations: 4 kB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3189, allocations: 0 / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.3192, allocations: 223.2 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.3193, allocations: 77.11 kB / 1.064 GB, free: 16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.3193, allocations: 8 kB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.3194, allocations: 7.984 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.3195, allocations: 11.98 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.3195, allocations: 4 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.862e-05/0.3196, allocations: 95.7 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3196, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002365/0.3198, allocations: 19.84 kB / 1.064 GB, free: 15.85 MB / 0.8262 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.0001561/0.32, allocations: 103.2 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.3203, allocations: 91.81 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3203, allocations: 0 / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.3205, allocations: 47.97 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.3208, allocations: 7.984 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.3212, allocations: 210.6 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3215, allocations: 0.6926 MB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.3216, allocations: 11.44 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3216, allocations: 0 / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of Templates: time 0.002666/0.3242, allocations: 1.052 MB / 1.066 GB, free: 13.58 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches