Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001333/0.001333, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001767/0.001767, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.396/1.396, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.609/2.609, allocations: 437 MB / 0.71 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/0.7888, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.003389/0.7922, allocations: 0.8197 MB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.7935, allocations: 0.8467 MB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.7936, allocations: 0 / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.549e-05/0.7937, allocations: 7.875 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.7938, allocations: 7.938 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.794, allocations: 31.95 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.7942, allocations: 63.91 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.7943, allocations: 23.97 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.7944, allocations: 31.86 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.7945, allocations: 43.81 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.7946, allocations: 8 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.7946, allocations: 8 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.7946, allocations: 15.92 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.7947, allocations: 35.8 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.7948, allocations: 67.75 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7948, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7948, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.7948, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 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.0005876/0.7954, allocations: 385.2 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.7954, allocations: 8.031 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.7955, allocations: 8.844 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.7956, allocations: 184.2 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.7957, allocations: 4.375 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.7957, allocations: 4.375 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.7959, allocations: 82.27 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.796, allocations: 8.125 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.796, allocations: 7.938 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.796, allocations: 4 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.7962, allocations: 59.94 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.7967, allocations: 328.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.797, allocations: 86.47 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.7971, allocations: 40.92 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.7971, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.7972, allocations: 34.56 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 2.384e-06/0.7972, allocations: 4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004754/0.7976, allocations: 129.6 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.7977, allocations: 59.34 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.7978, allocations: 117.8 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.7979, allocations: 29.7 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.7979, allocations: 99.97 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.798, allocations: 15.72 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.798, allocations: 25.7 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.7982, allocations: 326.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.7983, allocations: 23.98 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.7984, allocations: 32.34 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.7987, allocations: 76.75 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7987, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002798/0.799, allocations: 97.64 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.799, allocations: 7.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.799, allocations: 112 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.799, allocations: 7.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.7992, allocations: 15.97 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.7992, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-05/0.7993, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.7993, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 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 0.0001101/0.7994, allocations: 126.2 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.7995, allocations: 3.906 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.7995, allocations: 12.38 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.7995, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7995, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.7995, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.7997, allocations: 197.5 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7998, allocations: 4 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.7999, allocations: 19.97 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.7999, allocations: 4 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.7999, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.7999, allocations: 0 / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7999, allocations: 3.938 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.8002, allocations: 203.3 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.8003, allocations: 81.14 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.8003, allocations: 15.98 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.8004, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.8005, allocations: 11.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.8005, allocations: 7.984 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.931e-05/0.8006, allocations: 87.28 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8006, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002253/0.8008, allocations: 19.98 kB / 1.022 GB, free: 13.32 MB / 0.7794 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.0001496/0.801, allocations: 103.2 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002943/0.8013, allocations: 75.81 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8013, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.8014, allocations: 39.97 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.8018, allocations: 5.25 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.8022, allocations: 185.5 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.8025, allocations: 0.6962 MB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.991e-05/0.8026, allocations: 11.98 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.8026, allocations: 15.38 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8026, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of Templates: time 0.003514/0.8061, allocations: 1.13 MB / 1.024 GB, free: 11 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches