Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001773/0.001772, allocations: 101.6 kB / 16.4 MB, free: 6.461 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.001984/0.001984, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.14 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.309/2.309, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.00158, allocations: 71.89 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8981/0.8997, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001884/0.9016, allocations: 0.6981 MB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009076/0.9026, allocations: 0.8049 MB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.9026, allocations: 5.188 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.9027, allocations: 4.547 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.9027, allocations: 5.859 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.609e-05/0.9028, allocations: 9.766 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.529e-05/0.9029, allocations: 42.62 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.903, allocations: 15.05 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.9031, allocations: 16.94 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.856e-05/0.9032, allocations: 18.67 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.9032, allocations: 4.156 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.407e-06/0.9032, allocations: 6.656 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.9032, allocations: 11.66 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.9033, allocations: 21.67 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.9034, allocations: 36.33 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.9034, allocations: 0 / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.454e-06/0.9034, allocations: 4.75 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.9034, allocations: 0 / 1.09 GB, free: 4.355 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005052/0.9039, allocations: 360.1 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.904, allocations: 10.27 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.904, allocations: 7.031 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.985e-05/0.9041, allocations: 175.2 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.9041, allocations: 384 / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.9041, allocations: 2.469 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.9044, allocations: 72.3 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.9044, allocations: 1.281 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.9044, allocations: 3.938 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.9044, allocations: 5.547 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.9047, allocations: 61.97 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.9051, allocations: 270 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.9053, allocations: 55.45 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.9055, allocations: 48.17 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.9055, allocations: 5.156 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.9055, allocations: 36.25 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.9055, allocations: 0 / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005942/0.9061, allocations: 123.1 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.9062, allocations: 57.56 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.9063, allocations: 106.6 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.9063, allocations: 26.77 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.9063, allocations: 91.56 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.9063, allocations: 17.61 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.9064, allocations: 13.44 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.999e-05/0.9064, allocations: 317.4 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.9066, allocations: 35.36 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.9067, allocations: 35.02 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.907, allocations: 71.06 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.907, allocations: 3.938 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003228/0.9074, allocations: 101.3 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.9074, allocations: 5.562 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9074, allocations: 0.8438 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.9074, allocations: 0.7969 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.9076, allocations: 15.11 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.9076, allocations: 0.6875 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.578e-05/0.9077, allocations: 16.16 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.9077, allocations: 1 kB / 1.092 GB, free: 2.574 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 (3): * Single equations (assignments): 3 * 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.661e-05/0.9077, allocations: 116.4 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.9078, allocations: 10.56 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.9078, allocations: 5.828 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.9078, allocations: 0 / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9078, allocations: 1.859 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.9078, allocations: 0 / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.908, allocations: 170.6 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.908, allocations: 4.844 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.9081, allocations: 18.78 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.9081, allocations: 0.7812 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.9081, allocations: 1.578 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9081, allocations: 0 / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.9081, allocations: 4.688 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.9085, allocations: 197.3 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.9085, allocations: 83.94 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.9086, allocations: 0.6875 kB / 1.093 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.9087, allocations: 15.33 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.9087, allocations: 3.672 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.9087, allocations: 5.125 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.9088, allocations: 88.48 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9088, allocations: 4 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000218/0.909, allocations: 6.281 kB / 1.093 GB, free: 1.891 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 (3): * Single equations (assignments): 3 * 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.0001571/0.9092, allocations: 103.3 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003696/0.9095, allocations: 66.73 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9096, allocations: 0.8125 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.9097, allocations: 42.06 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.9101, allocations: 8.828 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.9104, allocations: 144.6 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.9105, allocations: 0.6805 MB / 1.094 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.9106, allocations: 9.531 kB / 1.094 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.9106, allocations: 4 kB / 1.094 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of Templates: time 0.002717/0.9133, allocations: 0.7477 MB / 1.095 GB, free: 0.8828 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches