Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.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.Obsolete.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Obsolete.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.Obsolete.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.001677/0.001677, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.002005/0.002005, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.00152, allocations: 67.44 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2914, allocations: 140.4 MB / 0.9512 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002428/0.2939, allocations: 0.7256 MB / 0.9519 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009266/0.2948, allocations: 0.8021 MB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.2949, allocations: 0 / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.2949, allocations: 0 / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.295, allocations: 7.875 kB / 0.9527 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.016e-05/0.2951, allocations: 19.97 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.2952, allocations: 47.86 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2953, allocations: 11.98 kB / 0.9527 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.279e-05/0.2954, allocations: 23.86 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.2955, allocations: 15.92 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.2955, allocations: 4 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.318e-06/0.2955, allocations: 4 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.2955, allocations: 15.97 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.2956, allocations: 19.88 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.555e-05/0.2957, allocations: 51.8 kB / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2957, allocations: 0 / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.136e-06/0.2957, allocations: 0 / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.2957, allocations: 0 / 0.9529 GB, free: 6.25 MB / 0.7325 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.0005597/0.2963, allocations: 371.3 kB / 0.9532 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.2963, allocations: 8.031 kB / 0.9532 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.2964, allocations: 4.844 kB / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.2965, allocations: 172.2 kB / 0.9534 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.2965, allocations: 8.375 kB / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.2965, allocations: 384 / 0.9534 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.2968, allocations: 78.12 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2968, allocations: 192 / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.2968, allocations: 3.938 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2968, allocations: 4 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.2971, allocations: 63.94 kB / 0.9535 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.2975, allocations: 276.9 kB / 0.9538 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.2977, allocations: 58.42 kB / 0.9539 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.2978, allocations: 44.91 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.2978, allocations: 0 / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.2979, allocations: 38.56 kB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.2979, allocations: 0 / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004757/0.2984, allocations: 125.6 kB / 0.9541 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.2984, allocations: 55.39 kB / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.2985, allocations: 117.7 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2985, allocations: 29.7 kB / 0.9543 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.2986, allocations: 92.05 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.2986, allocations: 7.844 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.2987, allocations: 13.72 kB / 0.9544 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2988, allocations: 322.8 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.2989, allocations: 27.97 kB / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.2991, allocations: 35.95 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.2993, allocations: 72.72 kB / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2993, allocations: 4 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000284/0.2996, allocations: 97.53 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.2997, allocations: 7.938 kB / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2997, allocations: 0 / 0.9549 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2997, allocations: 3.938 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2998, allocations: 15.98 kB / 0.9549 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2998, allocations: 4 kB / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.2999, allocations: 15.98 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2999, allocations: 0 / 0.9549 GB, free: 3.887 MB / 0.7325 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 9.721e-05/0.3, allocations: 121.3 kB / 0.9551 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.3001, allocations: 0 / 0.9551 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.3001, allocations: 7.906 kB / 0.9551 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.3001, allocations: 4 kB / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3001, allocations: 0 / 0.9551 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3001, allocations: 4 kB / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3003, allocations: 173.6 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3003, allocations: 0 / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-05/0.3004, allocations: 15.98 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3004, allocations: 336 / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3004, allocations: 0 / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3004, allocations: 0 / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3004, allocations: 0 / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.3008, allocations: 215.2 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.3008, allocations: 77.48 kB / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.3008, allocations: 0 / 0.9555 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3009, allocations: 11.98 kB / 0.9555 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.301, allocations: 7.984 kB / 0.9556 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.301, allocations: 7.938 kB / 0.9556 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.3011, allocations: 91.28 kB / 0.9556 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3011, allocations: 0 / 0.9556 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002104/0.3013, allocations: 8 kB / 0.9557 GB, free: 3.062 MB / 0.7325 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.0001123/0.3014, allocations: 99.23 kB / 0.9557 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003083/0.3017, allocations: 71.86 kB / 0.9558 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3017, allocations: 4 kB / 0.9558 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.3019, allocations: 31.97 kB / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.3022, allocations: 15.92 kB / 0.9559 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003194/0.3025, allocations: 128.1 kB / 0.956 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.3028, allocations: 0.6922 MB / 0.9567 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.935e-05/0.3028, allocations: 3.984 kB / 0.9567 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.3029, allocations: 11.44 kB / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3029, allocations: 0 / 0.9567 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of Templates: time 0.002673/0.3055, allocations: 0.6873 MB / 0.9574 GB, free: 1.273 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches