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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001438/0.001438, allocations: 109.1 kB / 15.99 MB, free: 6.355 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.001599/0.001599, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.52/1.52, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.2 MB / 0.665 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 66.91 kB / 0.8127 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3221, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.002378/0.3245, allocations: 0.8331 MB / 0.9506 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3256, allocations: 0.8313 MB / 0.9514 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.3257, allocations: 0 / 0.9514 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.645e-05/0.3257, allocations: 3.938 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.64e-05/0.3259, allocations: 11.92 kB / 0.9514 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.3261, allocations: 19.98 kB / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.3262, allocations: 71.84 kB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3263, allocations: 23.97 kB / 0.9515 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.3264, allocations: 39.78 kB / 0.9516 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.3265, allocations: 31.91 kB / 0.9516 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.3265, allocations: 8 kB / 0.9516 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.502e-05/0.3265, allocations: 7.938 kB / 0.9516 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.3266, allocations: 19.97 kB / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.3266, allocations: 31.8 kB / 0.9517 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.822e-05/0.3267, allocations: 55.89 kB / 0.9517 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3267, allocations: 0 / 0.9517 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3267, allocations: 0 / 0.9517 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3267, allocations: 0 / 0.9517 GB, free: 7.246 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.0005892/0.3273, allocations: 375.5 kB / 0.9521 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3274, allocations: 12.03 kB / 0.9521 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.3274, allocations: 4.844 kB / 0.9521 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3276, allocations: 188.2 kB / 0.9523 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.3276, allocations: 4.375 kB / 0.9523 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.3276, allocations: 8.312 kB / 0.9523 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.3279, allocations: 82.2 kB / 0.9524 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3279, allocations: 192 / 0.9524 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.3279, allocations: 7.922 kB / 0.9524 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3279, allocations: 7.938 kB / 0.9524 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.3282, allocations: 67.94 kB / 0.9524 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.3287, allocations: 324.7 kB / 0.9528 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.3289, allocations: 82.53 kB / 0.9528 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.3291, allocations: 48.92 kB / 0.9529 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.3291, allocations: 0 / 0.9529 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.3291, allocations: 30.56 kB / 0.9529 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 9.12e-07/0.3292, allocations: 0 / 0.9529 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0004811/0.3296, allocations: 137.6 kB / 0.953 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.3297, allocations: 55.41 kB / 0.9531 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.592e-05/0.3298, allocations: 121.8 kB / 0.9532 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3298, allocations: 25.7 kB / 0.9532 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.3299, allocations: 96.03 kB / 0.9533 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3299, allocations: 19.75 kB / 0.9533 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.33, allocations: 17.7 kB / 0.9534 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.3301, allocations: 322.8 kB / 0.9537 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.3302, allocations: 36.03 kB / 0.9537 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.3303, allocations: 35.97 kB / 0.9537 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.3305, allocations: 64.81 kB / 0.9538 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3305, allocations: 0 / 0.9538 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002722/0.3308, allocations: 105.5 kB / 0.9539 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3308, allocations: 8 kB / 0.9539 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3309, allocations: 0 / 0.9539 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3309, allocations: 0 / 0.9539 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.331, allocations: 19.98 kB / 0.9539 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.331, allocations: 112 / 0.9539 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-05/0.3311, allocations: 15.92 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3312, allocations: 0 / 0.9539 GB, free: 4.742 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.454e-05/0.3312, allocations: 117.8 kB / 0.9541 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.3313, allocations: 7.906 kB / 0.9541 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.3313, allocations: 12.36 kB / 0.9541 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3313, allocations: 0 / 0.9541 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3313, allocations: 4 kB / 0.9541 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.3313, allocations: 0 / 0.9541 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.3315, allocations: 197.5 kB / 0.9543 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3315, allocations: 0 / 0.9543 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.3317, allocations: 23.86 kB / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3317, allocations: 0 / 0.9543 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3317, allocations: 7.984 kB / 0.9543 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3317, allocations: 192 / 0.9543 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3317, allocations: 0 / 0.9543 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.332, allocations: 211.3 kB / 0.9545 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.3321, allocations: 81.02 kB / 0.9546 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.3321, allocations: 0 / 0.9546 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.3322, allocations: 7.984 kB / 0.9546 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.3323, allocations: 11.98 kB / 0.9546 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3323, allocations: 4 kB / 0.9546 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.589e-05/0.3324, allocations: 95.27 kB / 0.9547 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.285e-06/0.3324, allocations: 8 kB / 0.9547 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002575/0.3327, allocations: 15.88 kB / 0.9547 GB, free: 3.859 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.0001583/0.3328, allocations: 99.25 kB / 0.9548 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.3331, allocations: 79.88 kB / 0.9549 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3331, allocations: 0 / 0.9549 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.3333, allocations: 43.91 kB / 0.9549 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.3336, allocations: 7.984 kB / 0.9549 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.3341, allocations: 211.1 kB / 0.9551 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.3344, allocations: 0.6961 MB / 0.9558 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.3344, allocations: 19.42 kB / 0.9558 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of SimCode: time 1.703e-06/0.3345, allocations: 0 / 0.9558 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of Templates: time 0.00276/0.3372, allocations: 1.062 MB / 0.9569 GB, free: 1.582 MB / 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 -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