Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_11_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_11_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.001779/0.001779, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.002363/0.002364, allocations: 188.2 kB / 16.25 MB, free: 6.586 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.547/1.547, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.045/3.045, allocations: 469.8 MB / 0.742 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 68 kB / 0.9081 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3339, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002064/0.336, allocations: 0.5916 MB / 1.064 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.551e-05/0.336, allocations: 4 kB / 1.064 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.3361, allocations: 0 / 1.064 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.3361, allocations: 7.828 kB / 1.064 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.391e-05/0.3362, allocations: 0 / 1.064 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.123e-05/0.3362, allocations: 0 / 1.064 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.3363, allocations: 4 kB / 1.064 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.942e-05/0.3364, allocations: 11.92 kB / 1.064 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.508e-05/0.3364, allocations: 0 / 1.064 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.849e-05/0.3364, allocations: 0 / 1.064 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.3364, allocations: 0 / 1.064 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.508e-06/0.3364, allocations: 0 / 1.064 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.3364, allocations: 0 / 1.064 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.3365, allocations: 0 / 1.064 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.028e-05/0.3366, allocations: 15.92 kB / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3366, allocations: 0 / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3366, allocations: 0 / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.3366, allocations: 0 / 1.064 GB, free: 13.97 MB / 0.8262 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.0003741/0.337, allocations: 319.6 kB / 1.064 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.337, allocations: 8.031 kB / 1.064 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.337, allocations: 0.9375 kB / 1.064 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3372, allocations: 160.4 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.3372, allocations: 384 / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.3372, allocations: 8.375 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.66e-05/0.3373, allocations: 26.27 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3373, allocations: 192 / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3374, allocations: 3.938 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3374, allocations: 0 / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.3374, allocations: 11.88 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/0.3378, allocations: 379.5 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.3379, allocations: 177.1 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.338, allocations: 80.14 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.288e-05/0.338, allocations: 75.28 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.978e-05/0.3381, allocations: 117.8 kB / 1.065 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3381, allocations: 0 / 1.065 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.536e-05/0.3382, allocations: 33.73 kB / 1.065 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.3383, allocations: 130.7 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.3384, allocations: 93.86 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3384, allocations: 29.7 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.3384, allocations: 80.14 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.3384, allocations: 0 / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.3385, allocations: 9.719 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3386, allocations: 319 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-06/0.3386, allocations: 0 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.489e-06/0.3386, allocations: 0 / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.3387, allocations: 79.28 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.224e-05/0.3387, allocations: 83.16 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.403e-05/0.3388, allocations: 35.47 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.6e-05/0.3388, allocations: 83.28 kB / 1.066 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.032e-05/0.3389, allocations: 79.28 kB / 1.066 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.944e-05/0.339, allocations: 158.5 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.67e-05/0.339, allocations: 75.28 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.207e-05/0.3391, allocations: 162.5 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.254e-05/0.3392, allocations: 75.28 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.3392, allocations: 75.28 kB / 1.067 GB, free: 10.83 MB / 0.8262 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.0001386/0.3394, allocations: 264.3 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.3394, allocations: 112.9 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.73e-05/0.3395, allocations: 104.1 kB / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-05/0.3396, allocations: 184.2 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-05/0.3397, allocations: 176.3 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.623e-05/0.3397, allocations: 180.3 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.34, allocations: 413.1 kB / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-05/0.3401, allocations: 101 kB / 1.068 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.3401, allocations: 112.9 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.653e-05/0.3402, allocations: 176.6 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.523e-05/0.3403, allocations: 176.3 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.272e-05/0.3404, allocations: 180.2 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-05/0.3405, allocations: 200.3 kB / 1.069 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.3407, allocations: 307.6 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.275e-05/0.3408, allocations: 182.1 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.3409, allocations: 188.1 kB / 1.07 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.341, allocations: 105 kB / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.609e-05/0.3411, allocations: 184.2 kB / 1.07 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.3411, allocations: 101 kB / 1.07 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.3412, allocations: 75.28 kB / 1.07 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3412, allocations: 4 kB / 1.07 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002513/0.3414, allocations: 0 / 1.07 GB, free: 7.16 MB / 0.8262 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.0001893/0.3416, allocations: 182.6 kB / 1.07 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.533e-05/0.3417, allocations: 3.938 kB / 1.07 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3417, allocations: 0 / 1.07 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.3417, allocations: 0 / 1.07 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.3421, allocations: 460.6 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.3423, allocations: 156.3 kB / 1.071 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.3427, allocations: 0.6768 MB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.204e-06/0.3427, allocations: 0 / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.3427, allocations: 7.438 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.3427, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of Templates: time 0.002407/0.3451, allocations: 166.4 kB / 1.072 GB, free: 5.461 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches