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.00149/0.00149, allocations: 108.7 kB / 16.37 MB, free: 5.516 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.001661/0.001661, allocations: 193.3 kB / 17.31 MB, free: 5.16 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.659/2.659, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 60.5 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3264, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002253/0.3287, allocations: 0.7828 MB / 1.028 GB, free: 1.305 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3297, allocations: 0.839 MB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.814e-05/0.3298, allocations: 0 / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.198e-05/0.3298, allocations: 3.938 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.41e-05/0.3299, allocations: 7.875 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.3301, allocations: 27.95 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.3302, allocations: 67.84 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3304, allocations: 35.83 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.3304, allocations: 23.92 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.007e-05/0.3305, allocations: 47.77 kB / 1.029 GB, free: 248 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.3306, allocations: 8 kB / 1.029 GB, free: 240 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.376e-05/0.3306, allocations: 4 kB / 1.029 GB, free: 236 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.3306, allocations: 19.92 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.3307, allocations: 31.84 kB / 1.029 GB, free: 184 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.3308, allocations: 79.67 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3308, allocations: 0 / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3308, allocations: 4 kB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3308, allocations: 0 / 1.029 GB, free: 100 kB / 0.795 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.0006241/0.3314, allocations: 371.3 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3315, allocations: 8.031 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.3315, allocations: 8.844 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.3317, allocations: 180.2 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3317, allocations: 8.375 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.3318, allocations: 8.375 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.332, allocations: 78.2 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.332, allocations: 192 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.332, allocations: 3.938 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.332, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002286/0.3323, allocations: 71.88 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.3328, allocations: 332.6 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.333, allocations: 86.53 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3332, allocations: 36.92 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3332, allocations: 0 / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.3332, allocations: 38.56 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.3332, allocations: 3.984 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0004319/0.3337, allocations: 133.5 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.3337, allocations: 51.41 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3338, allocations: 121.8 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3339, allocations: 29.7 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.3339, allocations: 96.05 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.3339, allocations: 27.62 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.979e-05/0.334, allocations: 21.72 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3341, allocations: 318.8 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.3342, allocations: 31.97 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.759e-05/0.3343, allocations: 31.97 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.3345, allocations: 77.12 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3345, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002525/0.3348, allocations: 97.66 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3348, allocations: 7.984 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3348, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3349, allocations: 0 / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.335, allocations: 19.98 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.335, allocations: 0 / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.51e-05/0.3351, allocations: 15.89 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3351, allocations: 4.109 kB / 1.031 GB, free: 13.6 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.439e-05/0.3352, allocations: 121.7 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.3352, allocations: 4 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.3353, allocations: 12.31 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3353, allocations: 4 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3353, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3353, allocations: 3.984 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.3355, allocations: 201.5 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3355, allocations: 0 / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.3356, allocations: 15.98 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3356, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3357, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.3357, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3357, allocations: 4 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.336, allocations: 203.4 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.336, allocations: 85.02 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3361, allocations: 128 / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3362, allocations: 11.98 kB / 1.032 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.3362, allocations: 19.92 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3363, allocations: 0 / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.061e-05/0.3363, allocations: 95.27 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3363, allocations: 0 / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002311/0.3366, allocations: 11.94 kB / 1.032 GB, free: 12.73 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.0001565/0.3367, allocations: 111.2 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002804/0.337, allocations: 75.88 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.337, allocations: 0 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.3372, allocations: 43.91 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3375, allocations: 8.766 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.3379, allocations: 173.5 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3382, allocations: 0.6885 MB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.419e-05/0.3383, allocations: 8 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/0.3384, allocations: 19.42 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3384, allocations: 0 / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of Templates: time 0.003713/0.3421, allocations: 1.221 MB / 1.034 GB, free: 10.34 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 -s cvode -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