Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Continuous.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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, 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.00153/0.00153, allocations: 199.5 kB / 16.79 MB, free: 6.828 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 75.88 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.748, allocations: 140.4 MB / 0.9496 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.001905/0.75, allocations: 0.8271 MB / 0.9504 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008092/0.7508, allocations: 0.8311 MB / 0.9512 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.7508, allocations: 1.312 kB / 0.9512 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.475e-05/0.7509, allocations: 3.938 kB / 0.9512 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.751, allocations: 9.25 kB / 0.9512 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.7512, allocations: 28.11 kB / 0.9513 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.7513, allocations: 64.03 kB / 0.9513 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.7514, allocations: 17.2 kB / 0.9513 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.7515, allocations: 29.08 kB / 0.9514 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.7516, allocations: 41.94 kB / 0.9514 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.7516, allocations: 8.875 kB / 0.9514 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.7516, allocations: 4.031 kB / 0.9514 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.7516, allocations: 13.27 kB / 0.9514 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.7517, allocations: 29.14 kB / 0.9515 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.678e-05/0.7518, allocations: 57.59 kB / 0.9515 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.7518, allocations: 1.844 kB / 0.9515 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7518, allocations: 0 / 0.9515 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.7518, allocations: 0 / 0.9515 GB, free: 7.945 MB / 0.7169 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.0005041/0.7523, allocations: 380.9 kB / 0.9519 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.7523, allocations: 13.81 kB / 0.9519 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.7524, allocations: 3.875 kB / 0.9519 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.7525, allocations: 177.6 kB / 0.9521 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.7525, allocations: 6.688 kB / 0.9521 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.7525, allocations: 4.062 kB / 0.9521 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.7528, allocations: 81.61 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.7528, allocations: 1.531 kB / 0.9522 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.7528, allocations: 3.938 kB / 0.9522 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.7528, allocations: 1.312 kB / 0.9522 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.753, allocations: 71.44 kB / 0.9522 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.7535, allocations: 325.8 kB / 0.9525 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.7537, allocations: 89.22 kB / 0.9526 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.7539, allocations: 37.02 kB / 0.9527 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.7539, allocations: 9.562 kB / 0.9527 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.7539, allocations: 35.94 kB / 0.9527 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.7539, allocations: 0 / 0.9527 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004412/0.7544, allocations: 137.5 kB / 0.9528 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.7544, allocations: 56.64 kB / 0.9529 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.509e-05/0.7545, allocations: 117.8 kB / 0.953 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.7545, allocations: 25.7 kB / 0.953 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.7545, allocations: 105.4 kB / 0.9531 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.7546, allocations: 9.062 kB / 0.9531 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.7546, allocations: 22.48 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.7547, allocations: 321 kB / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.7548, allocations: 35.31 kB / 0.9535 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.7549, allocations: 28.66 kB / 0.9535 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.7551, allocations: 74.34 kB / 0.9536 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7551, allocations: 3.938 kB / 0.9536 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002503/0.7554, allocations: 101.7 kB / 0.9537 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.7554, allocations: 9.875 kB / 0.9537 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7554, allocations: 0 / 0.9537 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.7554, allocations: 0.9062 kB / 0.9537 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.7556, allocations: 14.67 kB / 0.9537 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.7556, allocations: 1.406 kB / 0.9537 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.7557, allocations: 8.047 kB / 0.9537 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.7557, allocations: 1 kB / 0.9537 GB, free: 5.859 MB / 0.7169 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 5.703e-05/0.7558, allocations: 117.3 kB / 0.9538 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.7558, allocations: 11.06 kB / 0.9539 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.7558, allocations: 14.03 kB / 0.9539 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7558, allocations: 3.938 kB / 0.9539 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.7558, allocations: 5.594 kB / 0.9539 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7558, allocations: 3.938 kB / 0.9539 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.756, allocations: 197.2 kB / 0.9541 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.756, allocations: 1.406 kB / 0.9541 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.7561, allocations: 15.05 kB / 0.9541 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7561, allocations: 0 / 0.9541 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.7562, allocations: 1.438 kB / 0.9541 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.7562, allocations: 7.984 kB / 0.9541 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7562, allocations: 1.875 kB / 0.9541 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.7564, allocations: 200.8 kB / 0.9543 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.7565, allocations: 82.42 kB / 0.9544 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.7565, allocations: 5.188 kB / 0.9544 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.7566, allocations: 7.953 kB / 0.9544 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.7567, allocations: 16.17 kB / 0.9544 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.7567, allocations: 9.375 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.7568, allocations: 94.73 kB / 0.9545 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7568, allocations: 0 / 0.9545 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000224/0.757, allocations: 13.72 kB / 0.9545 GB, free: 5.086 MB / 0.7169 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.0001228/0.7571, allocations: 101.6 kB / 0.9546 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.7574, allocations: 75.98 kB / 0.9547 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7574, allocations: 0 / 0.9547 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.7575, allocations: 41.97 kB / 0.9547 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.7579, allocations: 14.47 kB / 0.9547 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.7583, allocations: 213.6 kB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.7584, allocations: 0.6891 MB / 0.9556 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.7585, allocations: 18.61 kB / 0.9556 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.7585, allocations: 0 / 0.9556 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of Templates: time 0.002423/0.7609, allocations: 1.045 MB / 0.9566 GB, free: 3.473 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches