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.001555/0.001555, allocations: 100.1 kB / 15.88 MB, free: 12 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.001768/0.001768, allocations: 196 kB / 16.79 MB, free: 6.809 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.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.777/2.777, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 68.09 kB / 0.8991 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2939, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002039/0.296, allocations: 0.8156 MB / 1.054 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.2969, allocations: 0.8468 MB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.297, allocations: 4 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.2971, allocations: 3.938 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.048e-05/0.2972, allocations: 0 / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.2973, allocations: 35.89 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.2974, allocations: 59.91 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2976, allocations: 27.84 kB / 1.055 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.2976, allocations: 27.86 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.2977, allocations: 39.81 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.2978, allocations: 4 kB / 1.055 GB, free: 6.406 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.721e-05/0.2978, allocations: 8 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.521e-05/0.2978, allocations: 11.98 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.2979, allocations: 27.8 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.703e-05/0.2979, allocations: 55.88 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.298, allocations: 0 / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.51e-07/0.298, allocations: 0 / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.298, allocations: 4 kB / 1.055 GB, free: 6.301 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.000564/0.2985, allocations: 379.5 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2986, allocations: 8.031 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.2986, allocations: 12.83 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2988, allocations: 180.2 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.2988, allocations: 384 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.2988, allocations: 8.375 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.2991, allocations: 86.14 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2991, allocations: 192 / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.2991, allocations: 7.922 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2991, allocations: 8 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.2994, allocations: 67.88 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.2998, allocations: 332.6 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3001, allocations: 86.53 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.3002, allocations: 48.8 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.3003, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.3003, allocations: 34.56 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.3003, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.000471/0.3008, allocations: 125.6 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.3008, allocations: 55.41 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3009, allocations: 117.8 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.301, allocations: 33.7 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.272e-05/0.301, allocations: 88.05 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.301, allocations: 31.64 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.3011, allocations: 17.72 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.6e-05/0.3012, allocations: 322.9 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.3013, allocations: 35.84 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3014, allocations: 35.97 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.3017, allocations: 68.81 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3017, allocations: 0 / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000273/0.3019, allocations: 97.64 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.302, allocations: 4 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.302, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.302, allocations: 4 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3021, allocations: 19.92 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3022, allocations: 4 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.969e-05/0.3023, allocations: 16.33 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3023, allocations: 0 / 1.057 GB, free: 3.785 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 8.758e-05/0.3024, allocations: 117.8 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.3024, allocations: 0 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.3024, allocations: 12.38 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3024, allocations: 4 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3025, allocations: 3.984 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3025, allocations: 0 / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.3027, allocations: 189.6 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3027, allocations: 8 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.3028, allocations: 15.98 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.3028, allocations: 4 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3028, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3028, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3028, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.3032, allocations: 211.3 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.3032, allocations: 85.02 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3032, allocations: 0 / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.3034, allocations: 7.984 kB / 1.058 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.3034, allocations: 11.98 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.3035, allocations: 7.938 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.39e-05/0.3035, allocations: 95.27 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.174e-06/0.3035, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000237/0.3038, allocations: 19.88 kB / 1.058 GB, free: 2.914 MB / 0.8106 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.0001438/0.3039, allocations: 99.25 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002942/0.3042, allocations: 79.81 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3042, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.3044, allocations: 39.97 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.3046, allocations: 9.828 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.3051, allocations: 217.1 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.3054, allocations: 0.6887 MB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.3054, allocations: 11.44 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3054, allocations: 0 / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of Templates: time 0.002318/0.3078, allocations: 1.05 MB / 1.06 GB, free: 0.6641 MB / 0.8106 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