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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008231/0.0008232, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008835/0.0008834, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.808/2.808, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 15.94 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8155/0.8159, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001052/0.817, allocations: 485.9 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.8181, allocations: 0.8274 MB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.8181, allocations: 4 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.8182, allocations: 3.938 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.8183, allocations: 11.92 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.8185, allocations: 15.98 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.8186, allocations: 67.77 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.8187, allocations: 23.97 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.437e-05/0.8188, allocations: 27.91 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.802e-05/0.8189, allocations: 31.84 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.819, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.738e-05/0.819, allocations: 4 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.819, allocations: 11.98 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.8191, allocations: 33.64 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.809e-05/0.8192, allocations: 55.86 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.8192, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8192, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.8192, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 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.0005923/0.8198, allocations: 373.1 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.8199, allocations: 12.56 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.8199, allocations: 7.906 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.8201, allocations: 174.9 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.8201, allocations: 0 / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.8202, allocations: 8 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.8204, allocations: 89.59 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.8204, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.8205, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.8205, allocations: 3.984 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.8207, allocations: 75.89 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.8213, allocations: 328.7 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.8215, allocations: 90.53 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.8217, allocations: 44.92 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.8217, allocations: 3.984 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.8217, allocations: 30.56 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.8217, allocations: 0 / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0005069/0.8223, allocations: 157.5 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.8223, allocations: 51.41 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.8224, allocations: 117.8 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.8225, allocations: 29.7 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.8225, allocations: 104 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.8226, allocations: 11.81 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.8226, allocations: 3.938 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8228, allocations: 326.8 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.8229, allocations: 27.98 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.823, allocations: 39.97 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.8231, allocations: 35.97 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8231, allocations: 4 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002837/0.8234, allocations: 121.5 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.8235, allocations: 5.25 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.8235, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.8235, allocations: 4 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.8237, allocations: 15.98 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.8237, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.8238, allocations: 12.42 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.8238, allocations: 4.109 kB / 1.026 GB, free: 11.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.8239, allocations: 121.7 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.8239, allocations: 7.906 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.824, allocations: 12.36 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.824, allocations: 0 / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.824, allocations: 4 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.824, allocations: 4 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.8243, allocations: 197.5 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.8243, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.8244, allocations: 23.92 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.8244, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.8244, allocations: 4 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.8244, allocations: 3.984 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.8244, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.8248, allocations: 211.4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.8248, allocations: 88.95 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.8249, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.825, allocations: 15.98 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.8251, allocations: 7.984 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.8251, allocations: 8 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.447e-05/0.8252, allocations: 95.27 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8252, allocations: 0 / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002334/0.8254, allocations: 12 kB / 1.027 GB, free: 11.07 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000186/0.8256, allocations: 111.2 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003078/0.8259, allocations: 79.95 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8259, allocations: 0 / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.8261, allocations: 51.91 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.8264, allocations: 10.8 kB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.8269, allocations: 184.6 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.8272, allocations: 0.6887 MB / 1.028 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.19e-05/0.8273, allocations: 8.188 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.8273, allocations: 15.42 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.8273, allocations: 0 / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of Templates: time 0.003623/0.8309, allocations: 1.036 MB / 1.029 GB, free: 8.84 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