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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007949/0.007949, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001526/0.001526, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.803/2.803, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 71.89 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3752, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001897/0.3771, allocations: 0.7552 MB / 1.209 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009205/0.3781, allocations: 0.8428 MB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.3781, allocations: 0 / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.3782, allocations: 7.875 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.3783, allocations: 7.938 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.3784, allocations: 31.91 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.3785, allocations: 63.89 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.3787, allocations: 31.83 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.015e-05/0.3788, allocations: 31.84 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.3789, allocations: 47.77 kB / 1.21 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.3789, allocations: 12 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.3789, allocations: 4 kB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.379, allocations: 15.98 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.379, allocations: 39.72 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.3791, allocations: 59.77 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.3791, allocations: 7.984 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3792, allocations: 4 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3792, allocations: 0 / 1.21 GB, free: 7.645 MB / 0.9669 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.000588/0.3798, allocations: 371.3 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3798, allocations: 12.03 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.3798, allocations: 8.844 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.38, allocations: 184.1 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.38, allocations: 8.375 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.3801, allocations: 4.375 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.3803, allocations: 86.08 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3803, allocations: 4.188 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3803, allocations: 7.938 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3803, allocations: 0 / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.3806, allocations: 67.94 kB / 1.21 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.3811, allocations: 328.6 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.3813, allocations: 82.55 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3814, allocations: 40.92 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.3815, allocations: 0 / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.3815, allocations: 34.56 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 2.685e-06/0.3815, allocations: 3.984 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.000471/0.382, allocations: 141.5 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.382, allocations: 55.41 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3821, allocations: 121.9 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3822, allocations: 29.64 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.3822, allocations: 88.14 kB / 1.211 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.3823, allocations: 23.64 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.3823, allocations: 21.72 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3824, allocations: 322.8 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.3826, allocations: 23.98 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3827, allocations: 35.97 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.3829, allocations: 64.81 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3829, allocations: 0 / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002806/0.3832, allocations: 113.5 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3832, allocations: 5.719 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3833, allocations: 0 / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3833, allocations: 4 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.3834, allocations: 24.34 kB / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3834, allocations: 0 / 1.212 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.3835, allocations: 4 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.3835, allocations: 7.984 kB / 1.212 GB, free: 5.137 MB / 0.9669 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 8.708e-05/0.3836, allocations: 113.8 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.3837, allocations: 11.91 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.3837, allocations: 8.375 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3837, allocations: 8 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3837, allocations: 0 / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3837, allocations: 0 / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.3839, allocations: 197.5 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.384, allocations: 3.984 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.3841, allocations: 19.92 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3841, allocations: 0 / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.3841, allocations: 0 / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3841, allocations: 0 / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3841, allocations: 0 / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.3844, allocations: 207.3 kB / 1.212 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.3845, allocations: 85.09 kB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3845, allocations: 0 / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.3846, allocations: 8 kB / 1.213 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.3847, allocations: 11.98 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.3847, allocations: 3.984 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.088e-05/0.3848, allocations: 103.2 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3848, allocations: 0 / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002322/0.385, allocations: 19.84 kB / 1.213 GB, free: 4.25 MB / 0.9669 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.0001721/0.3852, allocations: 103.2 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003042/0.3855, allocations: 75.88 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3855, allocations: 0 / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.3857, allocations: 47.91 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.386, allocations: 8 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.3864, allocations: 165.5 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.3867, allocations: 0.6885 MB / 1.214 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.177e-05/0.3868, allocations: 11.98 kB / 1.214 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.3868, allocations: 11.44 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3868, allocations: 0 / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of Templates: time 0.003895/0.3907, allocations: 1.273 MB / 1.215 GB, free: 1.824 MB / 0.9669 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/jenkins/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