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.001181/0.001181, allocations: 114.4 kB / 16.37 MB, free: 6.012 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.001155/0.001155, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.361/2.361, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 66.86 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2534, allocations: 140.4 MB / 0.9511 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.002/0.2554, allocations: 0.7618 MB / 0.9519 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009751/0.2564, allocations: 0.8527 MB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.2565, allocations: 0 / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.2565, allocations: 7.922 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.468e-05/0.2566, allocations: 7.875 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.2568, allocations: 23.97 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.2569, allocations: 67.89 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.257, allocations: 23.98 kB / 0.9528 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.008e-05/0.2571, allocations: 35.84 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.491e-05/0.2572, allocations: 43.77 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.2572, allocations: 4 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.623e-05/0.2573, allocations: 8 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.357e-05/0.2573, allocations: 19.92 kB / 0.953 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.2574, allocations: 31.84 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.2575, allocations: 71.77 kB / 0.9531 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.2575, allocations: 0 / 0.9531 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.156e-06/0.2575, allocations: 0 / 0.9531 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.2575, allocations: 0 / 0.9531 GB, free: 6.07 MB / 0.7325 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.0006137/0.2581, allocations: 379.2 kB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2582, allocations: 11.97 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.2582, allocations: 8.844 kB / 0.9534 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.2584, allocations: 184.1 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.2584, allocations: 16.36 kB / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.2584, allocations: 384 / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.2586, allocations: 86.2 kB / 0.9537 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2587, allocations: 192 / 0.9537 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.2587, allocations: 3.938 kB / 0.9537 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.2587, allocations: 0 / 0.9537 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.2589, allocations: 67.94 kB / 0.9538 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.2594, allocations: 320.7 kB / 0.9541 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.2596, allocations: 86.56 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.2598, allocations: 36.89 kB / 0.9542 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.2598, allocations: 0 / 0.9542 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.2598, allocations: 42.5 kB / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.2598, allocations: 0 / 0.9542 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004381/0.2603, allocations: 141.6 kB / 0.9544 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.2603, allocations: 55.34 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.2604, allocations: 117.8 kB / 0.9545 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.2604, allocations: 25.7 kB / 0.9546 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.2605, allocations: 100 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.2606, allocations: 15.75 kB / 0.9547 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.2606, allocations: 21.7 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2607, allocations: 322.8 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.2609, allocations: 31.97 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.261, allocations: 31.97 kB / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.2612, allocations: 77.12 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2612, allocations: 0 / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002509/0.2614, allocations: 101.5 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.2615, allocations: 8 kB / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.2615, allocations: 0 / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2615, allocations: 0 / 0.9552 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.2616, allocations: 15.98 kB / 0.9553 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2617, allocations: 3.984 kB / 0.9553 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.2617, allocations: 11.98 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2618, allocations: 0 / 0.9553 GB, free: 3.566 MB / 0.7325 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.233e-05/0.2618, allocations: 121.7 kB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.2619, allocations: 11.89 kB / 0.9554 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.2619, allocations: 8.375 kB / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2619, allocations: 0 / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.2619, allocations: 4 kB / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2619, allocations: 0 / 0.9554 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.2621, allocations: 197.5 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2621, allocations: 4 kB / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.2623, allocations: 15.98 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.2623, allocations: 3.984 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2623, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2623, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2623, allocations: 0 / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.2626, allocations: 207.3 kB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.2627, allocations: 88.95 kB / 0.9559 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.2627, allocations: 4.125 kB / 0.9559 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2628, allocations: 15.92 kB / 0.9559 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.2629, allocations: 11.98 kB / 0.9559 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2629, allocations: 0 / 0.9559 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.2629, allocations: 103.6 kB / 0.956 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.263, allocations: 3.938 kB / 0.956 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002222/0.2632, allocations: 11.94 kB / 0.9561 GB, free: 2.672 MB / 0.7325 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.0001668/0.2633, allocations: 107.2 kB / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.2636, allocations: 71.89 kB / 0.9562 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2636, allocations: 0 / 0.9562 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.2638, allocations: 47.89 kB / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.2641, allocations: 9.203 kB / 0.9563 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.2646, allocations: 169.6 kB / 0.9564 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.2648, allocations: 0.6922 MB / 0.9571 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.852e-05/0.2649, allocations: 8 kB / 0.9571 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.2649, allocations: 15.42 kB / 0.9571 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.2649, allocations: 0 / 0.9571 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of Templates: time 0.00358/0.2685, allocations: 1.223 MB / 0.9583 GB, free: 292 kB / 0.7325 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 -s gbode -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