Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 230.6 MB / 256 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 62.02 kB / 1.154 GB, free: 25.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4364, allocations: 176.1 MB / 1.326 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001892/0.4382, allocations: 0.5932 MB / 1.326 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.513e-05/0.4383, allocations: 3.938 kB / 1.326 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.013e-05/0.4383, allocations: 0 / 1.326 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.4384, allocations: 0 / 1.326 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.063e-05/0.4384, allocations: 0 / 1.326 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.349e-05/0.4384, allocations: 0 / 1.326 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.949e-05/0.4385, allocations: 4 kB / 1.326 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.893e-05/0.4385, allocations: 0 / 1.326 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.785e-05/0.4386, allocations: 0 / 1.326 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.483e-05/0.4386, allocations: 7.984 kB / 1.326 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.4386, allocations: 8 kB / 1.326 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-06/0.4386, allocations: 0 / 1.326 GB, free: 1.082 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.4386, allocations: 3.938 kB / 1.326 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.4386, allocations: 3.984 kB / 1.326 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.559e-05/0.4387, allocations: 0 / 1.326 GB, free: 1.074 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4387, allocations: 0 / 1.326 GB, free: 1.074 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4387, allocations: 0 / 1.326 GB, free: 1.074 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.4387, allocations: 0 / 1.326 GB, free: 1.074 MB / 1.014 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.0003378/0.4391, allocations: 234.4 kB / 1.326 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4391, allocations: 19.95 kB / 1.326 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.4391, allocations: 0.9375 kB / 1.326 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.4392, allocations: 110.5 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4392, allocations: 4.375 kB / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.4392, allocations: 384 / 1.327 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.998e-05/0.4393, allocations: 26.27 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4393, allocations: 192 / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.4394, allocations: 3.938 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4394, allocations: 0 / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.693e-05/0.4394, allocations: 4 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003308/0.4397, allocations: 339 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.4398, allocations: 165.6 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.58e-05/0.4399, allocations: 84.14 kB / 1.327 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.4399, allocations: 83.25 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.44, allocations: 109.8 kB / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.44, allocations: 0 / 1.327 GB, free: 15.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.617e-05/0.4401, allocations: 37.58 kB / 1.327 GB, free: 15.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.623e-05/0.4401, allocations: 130.7 kB / 1.327 GB, free: 15.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.4402, allocations: 93.84 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.4402, allocations: 25.7 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.4403, allocations: 80.14 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.4403, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.4403, allocations: 21.78 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4404, allocations: 310.8 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.4405, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-06/0.4405, allocations: 0 / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.135e-05/0.4405, allocations: 75.28 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-05/0.4405, allocations: 79.28 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.502e-05/0.4406, allocations: 37.58 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.4406, allocations: 79.28 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.473e-05/0.4407, allocations: 79.28 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.114e-05/0.4407, allocations: 154.5 kB / 1.328 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.41e-05/0.4408, allocations: 79.22 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-05/0.4408, allocations: 158.6 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.041e-05/0.4409, allocations: 79.22 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.441, allocations: 75.28 kB / 1.329 GB, free: 14.17 MB / 1.029 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.0001415/0.4411, allocations: 264.4 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.4412, allocations: 104.9 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.4412, allocations: 111.9 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.712e-05/0.4413, allocations: 180.3 kB / 1.329 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.638e-05/0.4414, allocations: 180.2 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.471e-05/0.4415, allocations: 188.2 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.4417, allocations: 356.8 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.931e-05/0.4418, allocations: 109 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.509e-05/0.4418, allocations: 105 kB / 1.33 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.734e-05/0.4419, allocations: 184.1 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.174e-05/0.442, allocations: 180.3 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.799e-05/0.4421, allocations: 188.5 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.701e-05/0.4421, allocations: 176.3 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.4423, allocations: 307.8 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.4424, allocations: 112.9 kB / 1.331 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.472e-05/0.4425, allocations: 180.2 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.4425, allocations: 104.9 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.327e-05/0.4426, allocations: 184.3 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.4427, allocations: 104.9 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.4427, allocations: 79.28 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4427, allocations: 0 / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002463/0.443, allocations: 4 kB / 1.332 GB, free: 10.64 MB / 1.029 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.0001598/0.4431, allocations: 174.5 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.788e-05/0.4432, allocations: 4 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4432, allocations: 0 / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.4432, allocations: 96 / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.4436, allocations: 467.1 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.4439, allocations: 156.2 kB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.635e-05/0.4439, allocations: 59.34 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.074e-06/0.4439, allocations: 0 / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.4439, allocations: 7.438 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4439, allocations: 0 / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of Templates: time 0.00191/0.4458, allocations: 140.9 kB / 1.333 GB, free: 9.598 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.60243041627109]