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.0009838/0.0009838, allocations: 92.16 kB / 16.02 MB, free: 80 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.001153/0.001153, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.336 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.441/2.441, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003777, allocations: 12.19 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.7134, allocations: 142.4 MB / 0.9557 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.0009168/0.7144, allocations: 495.8 kB / 0.9562 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008188/0.7152, allocations: 0.8306 MB / 0.957 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.7153, allocations: 5.219 kB / 0.957 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.7153, allocations: 3.938 kB / 0.957 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.706e-05/0.7154, allocations: 9.375 kB / 0.957 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000135/0.7156, allocations: 20.25 kB / 0.957 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.965e-05/0.7157, allocations: 75.56 kB / 0.9571 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.7158, allocations: 20.31 kB / 0.9571 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.887e-05/0.7159, allocations: 21.55 kB / 0.9572 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.7159, allocations: 41.61 kB / 0.9572 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.716, allocations: 2.812 kB / 0.9572 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.716, allocations: 3.375 kB / 0.9572 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.716, allocations: 13 kB / 0.9572 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.7161, allocations: 54.78 kB / 0.9573 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.522e-05/0.7162, allocations: 45.48 kB / 0.9573 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.7162, allocations: 1.25 kB / 0.9573 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7162, allocations: 0 / 0.9573 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.7162, allocations: 0 / 0.9573 GB, free: 6.672 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.00048/0.7167, allocations: 373 kB / 0.9577 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.7167, allocations: 10.38 kB / 0.9577 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.7168, allocations: 7.375 kB / 0.9577 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.7169, allocations: 181 kB / 0.9579 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.7169, allocations: 3.938 kB / 0.9579 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.7169, allocations: 10.5 kB / 0.9579 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.7172, allocations: 88.23 kB / 0.958 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.7172, allocations: 192 / 0.958 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.7172, allocations: 4.906 kB / 0.958 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.7172, allocations: 1.125 kB / 0.958 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.7175, allocations: 83.94 kB / 0.958 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.7179, allocations: 327 kB / 0.9584 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.7181, allocations: 92.31 kB / 0.9584 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.7183, allocations: 40.31 kB / 0.9585 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.7183, allocations: 0 / 0.9585 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.7183, allocations: 35.95 kB / 0.9585 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.7183, allocations: 0 / 0.9585 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004658/0.7188, allocations: 153 kB / 0.9587 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.7188, allocations: 53.19 kB / 0.9587 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.61e-05/0.7189, allocations: 124.6 kB / 0.9588 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.7189, allocations: 31.02 kB / 0.9589 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.719, allocations: 90.77 kB / 0.9589 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.719, allocations: 22.39 kB / 0.959 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.719, allocations: 10.88 kB / 0.959 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.044e-05/0.7191, allocations: 320.1 kB / 0.9593 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.7192, allocations: 36.44 kB / 0.9593 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.7193, allocations: 43.42 kB / 0.9594 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.7195, allocations: 75.31 kB / 0.9594 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7196, allocations: 0 / 0.9594 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002836/0.7198, allocations: 120.9 kB / 0.9595 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.7199, allocations: 8.375 kB / 0.9596 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7199, allocations: 1.344 kB / 0.9596 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.7199, allocations: 0 / 0.9596 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.7201, allocations: 26.27 kB / 0.9596 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.7201, allocations: 0 / 0.9596 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.205e-05/0.7202, allocations: 10.58 kB / 0.9596 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.7202, allocations: 6.219 kB / 0.9596 GB, free: 4.582 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 6.643e-05/0.7202, allocations: 120 kB / 0.9597 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.7203, allocations: 6.984 kB / 0.9597 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.7203, allocations: 14.53 kB / 0.9597 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.7203, allocations: 1.312 kB / 0.9597 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7203, allocations: 4 kB / 0.9597 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.7203, allocations: 0 / 0.9597 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.7205, allocations: 197.6 kB / 0.9599 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7205, allocations: 1.312 kB / 0.9599 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.7206, allocations: 25.91 kB / 0.9599 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7206, allocations: 0 / 0.9599 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.7206, allocations: 1.156 kB / 0.96 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.7207, allocations: 0 / 0.96 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7207, allocations: 1.219 kB / 0.96 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.721, allocations: 211.1 kB / 0.9602 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.721, allocations: 86.17 kB / 0.9602 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.721, allocations: 1.094 kB / 0.9602 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.7212, allocations: 14.39 kB / 0.9602 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.7212, allocations: 12.39 kB / 0.9603 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.7212, allocations: 10.06 kB / 0.9603 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.357e-05/0.7213, allocations: 97.89 kB / 0.9604 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7213, allocations: 0 / 0.9604 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002235/0.7215, allocations: 13.91 kB / 0.9604 GB, free: 3.812 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.0001281/0.7217, allocations: 101.7 kB / 0.9605 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.722, allocations: 88.81 kB / 0.9606 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.722, allocations: 1.688 kB / 0.9606 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.7221, allocations: 47.69 kB / 0.9606 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.7224, allocations: 12.16 kB / 0.9606 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.7228, allocations: 215.2 kB / 0.9608 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.723, allocations: 0.6932 MB / 0.9615 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.723, allocations: 19.14 kB / 0.9615 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.723, allocations: 0 / 0.9615 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.00236/0.7254, allocations: 1.033 MB / 0.9625 GB, free: 2.203 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