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.001982/0.001982, allocations: 108 kB / 15.6 MB, free: 132 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.002955/0.002955, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.646/1.646, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.335/3.335, allocations: 469.8 MB / 0.7423 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 62.34 kB / 0.9085 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4357, allocations: 159.2 MB / 1.064 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002276/0.4381, allocations: 0.5398 MB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 5.979e-05/0.4381, allocations: 4 kB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.4382, allocations: 0 / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.4382, allocations: 0 / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.4383, allocations: 3.828 kB / 1.064 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.391e-05/0.4384, allocations: 3.938 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.4384, allocations: 4 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.451e-05/0.4385, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.4386, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.678e-05/0.4386, allocations: 3.984 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.4386, allocations: 4 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-06/0.4386, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.915e-05/0.4387, allocations: 4 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.4387, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.982e-05/0.4388, allocations: 11.92 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4388, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.576e-06/0.4388, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.509e-05/0.4388, allocations: 0 / 1.065 GB, free: 13.78 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.0005269/0.4393, allocations: 311.6 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.4394, allocations: 8.031 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.4395, allocations: 4.938 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.4397, allocations: 168.4 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.4397, allocations: 384 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.4397, allocations: 384 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.4398, allocations: 34.2 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.4398, allocations: 4.188 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.4399, allocations: 7.938 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4399, allocations: 3.938 kB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.556e-05/0.4399, allocations: 0 / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.4404, allocations: 383.5 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.4406, allocations: 169.1 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.657e-05/0.4406, allocations: 80.14 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.772e-05/0.4407, allocations: 79.22 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.689e-05/0.4408, allocations: 117.9 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.4408, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.933e-05/0.4409, allocations: 25.7 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/0.441, allocations: 130.7 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.4411, allocations: 97.86 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.4411, allocations: 25.7 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.4412, allocations: 80.14 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.4412, allocations: 4.125 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.4412, allocations: 9.719 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.4414, allocations: 314.8 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-06/0.4414, allocations: 0 / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.4415, allocations: 3.938 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.811e-05/0.4415, allocations: 79.28 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.053e-05/0.4416, allocations: 75.28 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.875e-05/0.4416, allocations: 41.56 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.131e-05/0.4417, allocations: 83.28 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-05/0.4418, allocations: 75.28 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/0.4419, allocations: 156.3 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.224e-05/0.4419, allocations: 79.28 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.583e-05/0.442, allocations: 158.5 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.848e-05/0.4421, allocations: 75.28 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.091e-05/0.4422, allocations: 79.28 kB / 1.067 GB, free: 10.64 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.0001971/0.4424, allocations: 276.3 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.4425, allocations: 105 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.503e-05/0.4426, allocations: 104.1 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001295/0.4427, allocations: 184.2 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001228/0.4428, allocations: 180.3 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001497/0.443, allocations: 188.2 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.4434, allocations: 401.2 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.402e-05/0.4435, allocations: 105 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.297e-05/0.4436, allocations: 108.9 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/0.4437, allocations: 176.3 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/0.4438, allocations: 188.2 kB / 1.069 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001358/0.444, allocations: 184.5 kB / 1.069 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001187/0.4441, allocations: 176.3 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.4444, allocations: 319.6 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.4446, allocations: 186 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.4447, allocations: 176.3 kB / 1.07 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.4448, allocations: 113 kB / 1.07 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.445, allocations: 180.2 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.445, allocations: 101 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.215e-05/0.4451, allocations: 83.28 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4451, allocations: 4.094 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002835/0.4454, allocations: 0 / 1.071 GB, free: 6.957 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.00026/0.4457, allocations: 171.1 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.033e-05/0.4457, allocations: 7.938 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4457, allocations: 0 / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.4457, allocations: 0 / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.4463, allocations: 463.6 kB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.4466, allocations: 152.4 kB / 1.071 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.447, allocations: 0.6728 MB / 1.072 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.106e-05/0.4471, allocations: 4 kB / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.4471, allocations: 7.438 kB / 1.072 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.4471, allocations: 0 / 1.072 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of Templates: time 0.002794/0.4499, allocations: 164.9 kB / 1.072 GB, free: 5.266 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