Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001513, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001698/0.001698, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.491/2.491, allocations: 437.1 MB / 0.711 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.00145, allocations: 69 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2877, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002331/0.29, allocations: 0.5379 MB / 1.019 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 4.508e-05/0.2901, allocations: 3.938 kB / 1.019 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.2902, allocations: 0 / 1.019 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.2902, allocations: 3.938 kB / 1.019 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.2903, allocations: 4 kB / 1.019 GB, free: 10.09 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.179e-05/0.2903, allocations: 4 kB / 1.019 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.572e-05/0.2904, allocations: 0 / 1.019 GB, free: 10.08 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.676e-05/0.2904, allocations: 7.984 kB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.526e-05/0.2905, allocations: 0 / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.206e-05/0.2905, allocations: 3.984 kB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2905, allocations: 0 / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-06/0.2905, allocations: 0 / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.2905, allocations: 0 / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.2906, allocations: 4 kB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.457e-05/0.2906, allocations: 3.938 kB / 1.019 GB, free: 10.06 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2907, allocations: 8 kB / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2907, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.2907, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003729/0.291, allocations: 315.5 kB / 1.019 GB, free: 9.695 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2911, allocations: 8.922 kB / 1.019 GB, free: 9.688 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.2911, allocations: 0.9375 kB / 1.019 GB, free: 9.688 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.2913, allocations: 168.3 kB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2914, allocations: 384 / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.2914, allocations: 384 / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.413e-05/0.2915, allocations: 30.27 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2915, allocations: 192 / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2915, allocations: 3.938 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2915, allocations: 4 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.961e-05/0.2915, allocations: 4 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.2919, allocations: 375.5 kB / 1.019 GB, free: 9.02 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.958e-05/0.292, allocations: 185 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2921, allocations: 88.06 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.2922, allocations: 75.28 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.2922, allocations: 105.8 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.293e-06/0.2922, allocations: 0 / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.081e-05/0.2923, allocations: 33.64 kB / 1.02 GB, free: 8.512 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.2924, allocations: 130.7 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.2925, allocations: 97.86 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.2925, allocations: 25.7 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.2926, allocations: 80.14 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.2926, allocations: 0 / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.2926, allocations: 9.719 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.2928, allocations: 318.8 kB / 1.021 GB, free: 7.816 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-06/0.2928, allocations: 4.125 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-06/0.2928, allocations: 0 / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.856e-05/0.2929, allocations: 75.28 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-05/0.2929, allocations: 75.28 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.886e-05/0.293, allocations: 41.58 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.293, allocations: 79.28 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/0.2931, allocations: 79.22 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.914e-05/0.2932, allocations: 150.6 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.758e-05/0.2932, allocations: 87.22 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-05/0.2933, allocations: 154.5 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.2934, allocations: 76.81 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.2934, allocations: 79.22 kB / 1.021 GB, free: 6.922 MB / 0.795 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 (0): * Single equations (assignments): 0 * 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.0001296/0.2935, allocations: 268.3 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.2937, allocations: 109 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.785e-05/0.2938, allocations: 116 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-05/0.2939, allocations: 176.3 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002611/0.2941, allocations: 184.2 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002256/0.2944, allocations: 176.3 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.2949, allocations: 413.2 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.456e-05/0.295, allocations: 108.9 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.295, allocations: 101 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.867e-05/0.2951, allocations: 180.2 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002498/0.2953, allocations: 180.3 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001423/0.2955, allocations: 184.6 kB / 1.023 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.39e-05/0.2956, allocations: 184.2 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.2958, allocations: 311.7 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.2959, allocations: 182.1 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/0.296, allocations: 176.3 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.2961, allocations: 108.9 kB / 1.024 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.2961, allocations: 180.3 kB / 1.025 GB, free: 3.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.855e-05/0.2962, allocations: 108.9 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.2962, allocations: 83.28 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2962, allocations: 0 / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003356/0.2966, allocations: 3.984 kB / 1.025 GB, free: 3.238 MB / 0.795 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 (0): * Single equations (assignments): 0 * 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.0001549/0.2967, allocations: 174.6 kB / 1.025 GB, free: 3.059 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.711e-05/0.2968, allocations: 4 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2968, allocations: 0 / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.2968, allocations: 0 / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.2972, allocations: 458 kB / 1.025 GB, free: 2.605 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.2975, allocations: 201.9 kB / 1.026 GB, free: 2.375 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.2981, allocations: 0.6767 MB / 1.026 GB, free: 1.672 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.2981, allocations: 7.438 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.2981, allocations: 4 kB / 1.026 GB, free: 1.66 MB / 0.795 GB Notification: Performance of Templates: time 0.001757/0.2999, allocations: 312.4 kB / 1.027 GB, free: 1.355 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches