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.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.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.0008548/0.0008587, allocations: 91.84 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.00112/0.00112, allocations: 180.7 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.386/1.386, allocations: 223.3 MB / 241 MB, free: 5.285 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.406/2.406, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 15.98 kB / 0.8166 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7919/0.7923, allocations: 142.4 MB / 0.9557 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0009018/0.7932, allocations: 432.6 kB / 0.9561 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007426/0.794, allocations: 0.8089 MB / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.794, allocations: 0 / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.7941, allocations: 1.188 kB / 0.9569 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.7941, allocations: 3.938 kB / 0.9569 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.474e-05/0.7942, allocations: 14.33 kB / 0.9569 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.7943, allocations: 33.17 kB / 0.957 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.7944, allocations: 11.92 kB / 0.957 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.663e-05/0.7945, allocations: 18.02 kB / 0.957 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.7945, allocations: 24.55 kB / 0.957 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.7946, allocations: 5.578 kB / 0.957 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.7946, allocations: 2.156 kB / 0.957 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.7946, allocations: 5.469 kB / 0.957 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.7946, allocations: 39.88 kB / 0.9571 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.553e-05/0.7947, allocations: 26.75 kB / 0.9571 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7947, allocations: 0 / 0.9571 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7947, allocations: 0 / 0.9571 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.788e-06/0.7947, allocations: 0 / 0.9571 GB, free: 6.508 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000439/0.7952, allocations: 369.7 kB / 0.9575 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.7952, allocations: 17.45 kB / 0.9575 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.7952, allocations: 7 kB / 0.9575 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.924e-05/0.7953, allocations: 166.8 kB / 0.9576 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.7954, allocations: 1.406 kB / 0.9576 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.7954, allocations: 1.719 kB / 0.9576 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/0.7956, allocations: 84.86 kB / 0.9577 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.7956, allocations: 1.25 kB / 0.9577 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.7957, allocations: 3.938 kB / 0.9577 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7957, allocations: 1.188 kB / 0.9577 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.796, allocations: 90.39 kB / 0.9578 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.7963, allocations: 271 kB / 0.9581 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.7965, allocations: 74.94 kB / 0.9581 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.7967, allocations: 51.11 kB / 0.9582 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.7967, allocations: 1.125 kB / 0.9582 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.7968, allocations: 35.47 kB / 0.9582 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.7968, allocations: 0 / 0.9582 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005686/0.7973, allocations: 166.7 kB / 0.9584 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.7974, allocations: 52.56 kB / 0.9584 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/0.7974, allocations: 109.4 kB / 0.9585 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.7975, allocations: 25.7 kB / 0.9586 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.7975, allocations: 92.03 kB / 0.9587 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.7975, allocations: 17.27 kB / 0.9587 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/0.7975, allocations: 11.19 kB / 0.9587 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.7976, allocations: 316.7 kB / 0.959 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.7978, allocations: 39.19 kB / 0.959 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.7979, allocations: 50.77 kB / 0.9591 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.7982, allocations: 89.94 kB / 0.9592 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7982, allocations: 3.938 kB / 0.9592 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003432/0.7986, allocations: 116.8 kB / 0.9593 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.7986, allocations: 5.156 kB / 0.9593 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.7986, allocations: 1.375 kB / 0.9593 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7986, allocations: 0 / 0.9593 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.7988, allocations: 23.39 kB / 0.9593 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.7988, allocations: 0 / 0.9593 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.313e-05/0.7989, allocations: 19.84 kB / 0.9593 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.7989, allocations: 1.062 kB / 0.9593 GB, free: 4.52 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 (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 6.632e-05/0.799, allocations: 123.9 kB / 0.9594 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.799, allocations: 6.031 kB / 0.9594 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.799, allocations: 5.062 kB / 0.9595 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.799, allocations: 0 / 0.9595 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.799, allocations: 1.094 kB / 0.9595 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7991, allocations: 0 / 0.9595 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.7992, allocations: 177.1 kB / 0.9596 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7992, allocations: 1.547 kB / 0.9596 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.918e-05/0.7993, allocations: 23.11 kB / 0.9596 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7993, allocations: 0 / 0.9596 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.7993, allocations: 1.5 kB / 0.9596 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7993, allocations: 3.938 kB / 0.9597 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.7993, allocations: 0 / 0.9597 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.7997, allocations: 223.9 kB / 0.9599 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.536e-05/0.7998, allocations: 82.3 kB / 0.9599 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.7998, allocations: 0 / 0.9599 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.7999, allocations: 20.86 kB / 0.96 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/0.8, allocations: 13.39 kB / 0.96 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.8, allocations: 1.281 kB / 0.96 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.191e-05/0.8, allocations: 80.59 kB / 0.9601 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8, allocations: 0 / 0.9601 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002162/0.8002, allocations: 10.84 kB / 0.9601 GB, free: 3.781 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 (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.0001368/0.8004, allocations: 105.5 kB / 0.9602 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.8007, allocations: 90.48 kB / 0.9603 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.8008, allocations: 0 / 0.9603 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.8009, allocations: 42.66 kB / 0.9603 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.8012, allocations: 8.672 kB / 0.9603 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.8016, allocations: 168.5 kB / 0.9605 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.8017, allocations: 0.688 MB / 0.9611 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.629e-05/0.8018, allocations: 9.281 kB / 0.9611 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8018, allocations: 0 / 0.9611 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of Templates: time 0.002408/0.8042, allocations: 0.7266 MB / 0.9619 GB, free: 2.391 MB / 0.7169 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