Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 104.7 kB / 15.98 MB, free: 6.34 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.001472/0.001472, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.585/2.585, allocations: 469.8 MB / 0.7427 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 76.31 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2875, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002533/0.2901, allocations: 0.7496 MB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2914, allocations: 0.804 MB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.2915, allocations: 4 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.2915, allocations: 3.938 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.795e-05/0.2916, allocations: 11.92 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.258e-05/0.2917, allocations: 4 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.2918, allocations: 51.84 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2919, allocations: 4 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.033e-05/0.292, allocations: 19.92 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.2921, allocations: 19.92 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.2921, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.2921, allocations: 4 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.2922, allocations: 11.98 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.2922, allocations: 23.86 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.375e-05/0.2923, allocations: 27.94 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2923, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2923, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2923, allocations: 0 / 1.066 GB, free: 13.32 MB / 0.8419 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.0006374/0.293, allocations: 359.7 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.293, allocations: 15.97 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.2931, allocations: 12.84 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.2932, allocations: 180.2 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2933, allocations: 384 / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.2933, allocations: 4.375 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.2936, allocations: 66.22 kB / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2937, allocations: 192 / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.2937, allocations: 3.938 kB / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2937, allocations: 0 / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.2941, allocations: 67.92 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.2946, allocations: 272.8 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.2949, allocations: 58.47 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.2951, allocations: 40.92 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.2952, allocations: 4 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.2952, allocations: 34.55 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.2952, allocations: 0 / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0007487/0.296, allocations: 129.5 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.296, allocations: 51.41 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2962, allocations: 113.8 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.2962, allocations: 25.7 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.2963, allocations: 84.14 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.2963, allocations: 15.8 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.2964, allocations: 17.72 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.2965, allocations: 310.8 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.2968, allocations: 35.95 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.297, allocations: 27.97 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.2974, allocations: 76.72 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2974, allocations: 3.938 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004695/0.2979, allocations: 101.6 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2979, allocations: 6.5 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2979, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2979, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.2981, allocations: 19.97 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2981, allocations: 0 / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.56e-05/0.2982, allocations: 11.98 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.2982, allocations: 0 / 1.068 GB, free: 10.98 MB / 0.8419 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 0.0001016/0.2983, allocations: 115.5 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.2984, allocations: 3.906 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.2984, allocations: 12.23 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2984, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2984, allocations: 4 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2985, allocations: 3.984 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.2987, allocations: 181.5 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2987, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.2989, allocations: 11.98 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2989, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.2989, allocations: 8 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2989, allocations: 3.938 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2989, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.2995, allocations: 195.4 kB / 1.068 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.198e-05/0.2995, allocations: 84.95 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2996, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.2998, allocations: 15.98 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.2998, allocations: 7.984 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2998, allocations: 0 / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.255e-05/0.2999, allocations: 83.28 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2999, allocations: 0 / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004031/0.3003, allocations: 8 kB / 1.069 GB, free: 10.16 MB / 0.8419 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.0001685/0.3005, allocations: 107.2 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004563/0.3009, allocations: 71.86 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.301, allocations: 0 / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.3012, allocations: 31.97 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.3016, allocations: 15.81 kB / 1.069 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.302, allocations: 167.3 kB / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.3025, allocations: 0.6807 MB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.263e-05/0.3025, allocations: 7.438 kB / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.3025, allocations: 0 / 1.07 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.00273/0.3053, allocations: 0.749 MB / 1.07 GB, free: 8.277 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches