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.008418/0.008418, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001571/0.00157, allocations: 199.1 kB / 16.67 MB, free: 5.52 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.21/2.21, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9065/0.9078, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.002349/0.9102, allocations: 0.7721 MB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.9113, allocations: 0.8405 MB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.471e-05/0.9114, allocations: 5.125 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.088e-05/0.9114, allocations: 5.156 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.646e-05/0.9115, allocations: 14.14 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.9117, allocations: 25.34 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.9118, allocations: 66.75 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.912, allocations: 23.94 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.9121, allocations: 31.75 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.794e-05/0.9122, allocations: 45.14 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.9123, allocations: 6.906 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.818e-05/0.9123, allocations: 6.531 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.9123, allocations: 17.72 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.445e-05/0.9124, allocations: 29.67 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.9126, allocations: 78.75 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.9126, allocations: 1.766 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9126, allocations: 0 / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.9126, allocations: 0 / 1.09 GB, free: 4.207 MB / 0.8575 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.0005663/0.9132, allocations: 373.7 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.9132, allocations: 9.172 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.9133, allocations: 9 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.9134, allocations: 181.5 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.9134, allocations: 6.25 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.9135, allocations: 3.906 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.9137, allocations: 79.09 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.9137, allocations: 4.188 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.9138, allocations: 9.094 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.9138, allocations: 1.094 kB / 1.091 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.914, allocations: 63.09 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.9145, allocations: 332.9 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.9148, allocations: 86.84 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.915, allocations: 37.75 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.915, allocations: 1.031 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.915, allocations: 36.23 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.915, allocations: 0 / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0005023/0.9155, allocations: 140.8 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.9156, allocations: 52.44 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.749e-05/0.9157, allocations: 123.1 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.9157, allocations: 26.45 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.9157, allocations: 97.98 kB / 1.091 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.9158, allocations: 19.27 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.9158, allocations: 21.2 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.9159, allocations: 326 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.916, allocations: 27.08 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.9161, allocations: 31.44 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.9164, allocations: 70.08 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9164, allocations: 0 / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002926/0.9167, allocations: 110.1 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9167, allocations: 8.641 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.9167, allocations: 0 / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.9167, allocations: 0.75 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.9169, allocations: 16.78 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.9169, allocations: 0.6875 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.525e-05/0.917, allocations: 11.28 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.917, allocations: 2.266 kB / 1.092 GB, free: 2.309 MB / 0.8575 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.955e-05/0.9171, allocations: 129.1 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.9171, allocations: 2.875 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.9171, allocations: 11.55 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9172, allocations: 4.656 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.9172, allocations: 0.7188 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.9172, allocations: 1.438 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.9173, allocations: 201.4 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9173, allocations: 1.609 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.9175, allocations: 15.39 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9175, allocations: 1.312 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.9175, allocations: 5.375 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.9175, allocations: 1.328 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9175, allocations: 0 / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.9178, allocations: 198.3 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.9179, allocations: 88.53 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.9179, allocations: 0.75 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.918, allocations: 18.91 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.9181, allocations: 12.34 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.9181, allocations: 2.328 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.9181, allocations: 93.91 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9181, allocations: 4.875 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002273/0.9184, allocations: 13.25 kB / 1.093 GB, free: 1.59 MB / 0.8575 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.0001578/0.9185, allocations: 99.72 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.9189, allocations: 78.2 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9189, allocations: 0 / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.919, allocations: 44.91 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.9193, allocations: 8.234 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.9198, allocations: 180.4 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.92, allocations: 0.6921 MB / 1.094 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.46e-05/0.92, allocations: 9.969 kB / 1.094 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.9201, allocations: 13.97 kB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.9201, allocations: 1 kB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of Templates: time 0.004742/0.9248, allocations: 1.232 MB / 1.095 GB, free: 0.5078 MB / 0.8575 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/jenkins/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