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.001293/0.001293, allocations: 87.03 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.001653/0.001653, 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.435/1.435, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.884/2.884, allocations: 462.6 MB / 0.736 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003859, allocations: 12.44 kB / 0.9022 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.413, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001156/0.4142, allocations: 468.5 kB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.4157, allocations: 0.8274 MB / 1.059 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.118e-05/0.4158, allocations: 4 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.4159, allocations: 3.938 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.416, allocations: 11.92 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.4162, allocations: 27.97 kB / 1.059 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.4163, allocations: 63.83 kB / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.4165, allocations: 19.84 kB / 1.059 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.4166, allocations: 19.92 kB / 1.059 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.432e-05/0.4167, allocations: 27.84 kB / 1.059 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.4167, allocations: 8 kB / 1.059 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.4167, allocations: 4 kB / 1.059 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.4168, allocations: 15.91 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.4168, allocations: 33.7 kB / 1.06 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.345e-05/0.4169, allocations: 47.81 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4169, allocations: 7.938 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4169, allocations: 0 / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.4169, allocations: 0 / 1.06 GB, free: 3.727 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.0005955/0.4175, allocations: 371.4 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4176, allocations: 8.031 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.4176, allocations: 7.906 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.4179, allocations: 182.8 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.4179, allocations: 4 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.4179, allocations: 7.953 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.4182, allocations: 89.64 kB / 1.06 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4182, allocations: 3.984 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.4182, allocations: 0 / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4182, allocations: 4 kB / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.4185, allocations: 71.95 kB / 1.06 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.419, allocations: 328.6 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.4193, allocations: 90.67 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.4194, allocations: 52.83 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.4195, allocations: 0 / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.4195, allocations: 38.5 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.4195, allocations: 0 / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0005013/0.42, allocations: 149.6 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.4201, allocations: 55.41 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4202, allocations: 117.8 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.4202, allocations: 29.7 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.4203, allocations: 96.03 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.4203, allocations: 27.66 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.4203, allocations: 0 / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4205, allocations: 326.8 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.4206, allocations: 31.97 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.4207, allocations: 35.98 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.4208, allocations: 35.97 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4208, allocations: 3.938 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002716/0.4211, allocations: 113.6 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4211, allocations: 4 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4211, allocations: 0 / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.4211, allocations: 0 / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.4213, allocations: 23.98 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4213, allocations: 0 / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.4214, allocations: 11.89 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.4214, allocations: 4 kB / 1.062 GB, free: 1.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.14e-05/0.4215, allocations: 121.8 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.4215, allocations: 3.938 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.4216, allocations: 16.36 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.4216, allocations: 0 / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.4216, allocations: 3.938 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4216, allocations: 0 / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.4218, allocations: 201.5 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4218, allocations: 0 / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.422, allocations: 23.98 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.422, allocations: 3.938 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.422, allocations: 3.984 kB / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.422, allocations: 0 / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.422, allocations: 0 / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.4223, allocations: 211.9 kB / 1.062 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.4224, allocations: 85.02 kB / 1.062 GB, free: 484 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.4224, allocations: 4.062 kB / 1.062 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4225, allocations: 11.98 kB / 1.062 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.4226, allocations: 11.98 kB / 1.062 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4226, allocations: 3.938 kB / 1.062 GB, free: 452 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.231e-05/0.4227, allocations: 99.27 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4227, allocations: 4 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002298/0.4229, allocations: 11.94 kB / 1.063 GB, free: 336 kB / 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 (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.0001646/0.4231, allocations: 103.2 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.4234, allocations: 79.95 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4234, allocations: 0 / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.4235, allocations: 51.91 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.4238, allocations: 11.94 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.4243, allocations: 184.9 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.4246, allocations: 0.6887 MB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.248e-05/0.4247, allocations: 8.188 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.026e-05/0.4247, allocations: 15.42 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of SimCode: time 1.523e-06/0.4247, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of Templates: time 0.003519/0.4283, allocations: 1.044 MB / 1.065 GB, free: 14.09 MB / 0.8262 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