Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001573, allocations: 108 kB / 15.61 MB, free: 152 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.002009/0.002009, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.498/1.498, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.038/3.038, allocations: 472.7 MB / 0.7452 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 64.31 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4494, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00244/0.4519, allocations: 0.5839 MB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.981e-05/0.452, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.452, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.326e-05/0.4521, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.649e-05/0.4521, allocations: 4 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.27e-05/0.4522, allocations: 0 / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.674e-05/0.4523, allocations: 4 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.686e-05/0.4524, allocations: 0 / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.409e-05/0.4524, allocations: 7.984 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.4524, allocations: 0 / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.4524, allocations: 4 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.749e-06/0.4524, allocations: 0 / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.4525, allocations: 0 / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.4525, allocations: 3.938 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.535e-05/0.4526, allocations: 3.984 kB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.958e-06/0.4526, allocations: 4 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4526, allocations: 3.938 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.4526, allocations: 0 / 1.069 GB, free: 9.754 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.0003897/0.453, allocations: 315.6 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4531, allocations: 12.03 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.4531, allocations: 0.9375 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.4533, allocations: 164.4 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4533, allocations: 384 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.4533, allocations: 384 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.572e-05/0.4534, allocations: 34.27 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.4534, allocations: 192 / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.4534, allocations: 3.938 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4534, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.4535, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.4538, allocations: 383.5 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.718e-05/0.4539, allocations: 173.1 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.454, allocations: 80.14 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.454, allocations: 79.31 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.4541, allocations: 113.9 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.4541, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.344e-05/0.4541, allocations: 29.64 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.4542, allocations: 134.7 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.4543, allocations: 97.8 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.4543, allocations: 25.7 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.4544, allocations: 84.14 kB / 1.071 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.4544, allocations: 3.938 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/0.4544, allocations: 13.72 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.4545, allocations: 310.8 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.999e-06/0.4545, allocations: 4.125 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-06/0.4545, allocations: 2.172 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.4545, allocations: 75.28 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-05/0.4546, allocations: 75.28 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.884e-05/0.4546, allocations: 45.47 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.4547, allocations: 79.28 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.4547, allocations: 75.28 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-05/0.4548, allocations: 162.5 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.391e-05/0.4548, allocations: 75.28 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.428e-05/0.4549, allocations: 154.6 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.027e-05/0.4549, allocations: 79.22 kB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.455, allocations: 79.28 kB / 1.072 GB, free: 6.617 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.0001103/0.4551, allocations: 266.4 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.4551, allocations: 108.9 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.4552, allocations: 115.9 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.232e-05/0.4553, allocations: 176.3 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.879e-05/0.4553, allocations: 180.2 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.414e-05/0.4554, allocations: 184.2 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.4556, allocations: 417.1 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/0.4557, allocations: 105 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.4558, allocations: 105 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/0.4559, allocations: 180.2 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.4559, allocations: 180.3 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001271/0.4561, allocations: 180.5 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.857e-05/0.4561, allocations: 180.3 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.4563, allocations: 315.7 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.4564, allocations: 178.1 kB / 1.074 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.4564, allocations: 184.2 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.4565, allocations: 113 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.4566, allocations: 176.3 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.4566, allocations: 104.9 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.4567, allocations: 79.28 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.304e-06/0.4567, allocations: 0 / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000241/0.4569, allocations: 3.938 kB / 1.075 GB, free: 2.938 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.0001866/0.4571, allocations: 178.6 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.705e-05/0.4572, allocations: 0 / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4572, allocations: 3.938 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.278e-06/0.4572, allocations: 0 / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005007/0.4577, allocations: 471.5 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.458, allocations: 156.2 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.4583, allocations: 0.669 MB / 1.076 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.965e-06/0.4583, allocations: 0 / 1.076 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.4583, allocations: 7.438 kB / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.4583, allocations: 0 / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of Templates: time 0.001936/0.4603, allocations: 172.9 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches