Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001829/0.001829, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.493/1.493, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.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.506/2.506, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001788, allocations: 79.81 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7965/0.7983, allocations: 140.4 MB / 0.9489 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001842/0.8002, allocations: 0.7293 MB / 0.9496 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007838/0.801, allocations: 0.7983 MB / 0.9504 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.103e-05/0.8011, allocations: 5.312 kB / 0.9504 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.8011, allocations: 0 / 0.9504 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.8012, allocations: 4 kB / 0.9504 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001315/0.8013, allocations: 10.73 kB / 0.9504 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.443e-05/0.8014, allocations: 16.19 kB / 0.9505 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.8015, allocations: 12.11 kB / 0.9505 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.8015, allocations: 6.688 kB / 0.9505 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.882e-05/0.8016, allocations: 10.73 kB / 0.9505 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.8016, allocations: 1.375 kB / 0.9505 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.8016, allocations: 1.375 kB / 0.9505 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.8016, allocations: 9.297 kB / 0.9505 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.8017, allocations: 9.375 kB / 0.9505 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.706e-05/0.8017, allocations: 20.03 kB / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8018, allocations: 0 / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.8018, allocations: 0 / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.8018, allocations: 1.375 kB / 0.9505 GB, free: 7.934 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000399/0.8022, allocations: 337.8 kB / 0.9509 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.8022, allocations: 9.625 kB / 0.9509 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.8023, allocations: 2.312 kB / 0.9509 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.468e-05/0.8023, allocations: 173.6 kB / 0.951 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.8024, allocations: 5.75 kB / 0.951 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.8024, allocations: 1.75 kB / 0.951 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.8025, allocations: 53.17 kB / 0.9511 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.8026, allocations: 192 / 0.9511 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.8026, allocations: 3.938 kB / 0.9511 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.8026, allocations: 1.375 kB / 0.9511 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.8028, allocations: 33.83 kB / 0.9511 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.8031, allocations: 249.2 kB / 0.9514 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.8032, allocations: 42.81 kB / 0.9514 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.598e-05/0.8033, allocations: 23.84 kB / 0.9514 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.8033, allocations: 3.938 kB / 0.9514 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.8033, allocations: 39.92 kB / 0.9515 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8033, allocations: 0 / 0.9515 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003311/0.8037, allocations: 79.84 kB / 0.9515 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.8037, allocations: 56.77 kB / 0.9516 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.8038, allocations: 93.98 kB / 0.9517 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.8038, allocations: 27.08 kB / 0.9517 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.8038, allocations: 89.64 kB / 0.9518 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.8038, allocations: 7.844 kB / 0.9518 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.8039, allocations: 16.45 kB / 0.9518 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.8039, allocations: 316.2 kB / 0.9521 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.804, allocations: 12.23 kB / 0.9521 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.744e-05/0.8041, allocations: 17.61 kB / 0.9522 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.8042, allocations: 43.72 kB / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8042, allocations: 0 / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/0.8044, allocations: 68.33 kB / 0.9523 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.8045, allocations: 9.422 kB / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.8045, allocations: 0 / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.8045, allocations: 1.094 kB / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.388e-05/0.8046, allocations: 11.41 kB / 0.9523 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.8046, allocations: 0 / 0.9523 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.812e-05/0.8046, allocations: 7.547 kB / 0.9523 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.8046, allocations: 0 / 0.9523 GB, free: 6.113 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 (2): * Single equations (assignments): 2 * 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.541e-05/0.8047, allocations: 115.1 kB / 0.9524 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.8047, allocations: 6.125 kB / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.805, allocations: 70.38 kB / 0.9525 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.805, allocations: 3.984 kB / 0.9525 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.805, allocations: 5.125 kB / 0.9525 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.805, allocations: 0 / 0.9525 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.8051, allocations: 157.7 kB / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.8051, allocations: 0 / 0.9526 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.8052, allocations: 10.92 kB / 0.9526 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.8052, allocations: 0 / 0.9526 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.8052, allocations: 1 kB / 0.9526 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.8052, allocations: 7.938 kB / 0.9526 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8052, allocations: 4.031 kB / 0.9527 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.8054, allocations: 167.1 kB / 0.9528 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.8055, allocations: 78.39 kB / 0.9529 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.8055, allocations: 1.531 kB / 0.9529 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.8055, allocations: 6.516 kB / 0.9529 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.8056, allocations: 5.406 kB / 0.9529 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.8056, allocations: 1.062 kB / 0.9529 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.763e-05/0.8056, allocations: 86.39 kB / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.443e-06/0.8056, allocations: 1.656 kB / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002093/0.8059, allocations: 7.312 kB / 0.953 GB, free: 5.367 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 (2): * Single equations (assignments): 2 * 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.0001318/0.806, allocations: 96.41 kB / 0.9531 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.8062, allocations: 38.03 kB / 0.9531 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8062, allocations: 0 / 0.9531 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.511e-05/0.8063, allocations: 22.91 kB / 0.9531 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.8066, allocations: 7.219 kB / 0.9531 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.8069, allocations: 105.8 kB / 0.9532 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.8071, allocations: 0.674 MB / 0.9539 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.96e-05/0.8072, allocations: 12.95 kB / 0.9539 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.8072, allocations: 8.406 kB / 0.9539 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.8072, allocations: 0 / 0.9539 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of Templates: time 0.002737/0.8099, allocations: 361.7 kB / 0.9543 GB, free: 4.238 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches