Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_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_latest_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.001256/0.001256, allocations: 104 kB / 15.6 MB, free: 148 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.001463/0.001463, allocations: 196 kB / 16.53 MB, free: 6.625 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.464/1.464, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 68.19 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/0.4599, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002607/0.4626, allocations: 0.5379 MB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001469/0.4628, allocations: 7.938 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.4628, allocations: 3.938 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.021e-05/0.4629, allocations: 0 / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.642e-05/0.4629, allocations: 0 / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.564e-05/0.463, allocations: 0 / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/0.463, allocations: 7.984 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.56e-05/0.4631, allocations: 8 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.539e-05/0.4632, allocations: 0 / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.564e-05/0.4632, allocations: 0 / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.4632, allocations: 0 / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.576e-06/0.4632, allocations: 0 / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.4633, allocations: 0 / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.4633, allocations: 0 / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.144e-05/0.4634, allocations: 7.938 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.4634, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.837e-06/0.4634, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.4634, allocations: 0 / 1.069 GB, free: 9.848 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.0004727/0.4639, allocations: 323.6 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.464, allocations: 8.031 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.464, allocations: 0.9375 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.4642, allocations: 160.4 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4642, allocations: 8.312 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.4642, allocations: 384 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.4644, allocations: 30.25 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.4644, allocations: 4.188 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4644, allocations: 7.938 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.4644, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.4644, allocations: 4 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.4649, allocations: 379.5 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.465, allocations: 177 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.816e-05/0.4651, allocations: 84.14 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.4651, allocations: 75.28 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.159e-05/0.4652, allocations: 109.9 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4652, allocations: 0 / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.65e-05/0.4653, allocations: 29.7 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.933e-05/0.4654, allocations: 134.6 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.4656, allocations: 105.8 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.4656, allocations: 25.7 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.4656, allocations: 80.14 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.4656, allocations: 0 / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.4657, allocations: 9.719 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4659, allocations: 310.8 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-06/0.4659, allocations: 0 / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-06/0.4659, allocations: 6.172 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/0.4659, allocations: 79.41 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.495e-05/0.466, allocations: 79.22 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.114e-05/0.4661, allocations: 33.55 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.4662, allocations: 83.28 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-05/0.4662, allocations: 79.22 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.29e-05/0.4663, allocations: 158.5 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.242e-05/0.4663, allocations: 79.22 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001626/0.4665, allocations: 158.6 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.663e-05/0.4666, allocations: 75.28 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.241e-05/0.4667, allocations: 79.22 kB / 1.072 GB, free: 6.699 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.000246/0.4669, allocations: 260.9 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/0.467, allocations: 113 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.733e-05/0.4671, allocations: 111.8 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-05/0.4672, allocations: 180.3 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-05/0.4673, allocations: 180.3 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.048e-05/0.4674, allocations: 180.2 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.4677, allocations: 405.2 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-05/0.4678, allocations: 108.9 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.048e-05/0.4679, allocations: 109 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-05/0.4679, allocations: 180.2 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.84e-05/0.468, allocations: 180.2 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.392e-05/0.4681, allocations: 176.6 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.743e-05/0.4682, allocations: 188.2 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.4684, allocations: 315.7 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.265e-05/0.4685, allocations: 178.1 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.4686, allocations: 180.3 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/0.4687, allocations: 108.9 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.4689, allocations: 180.3 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.4689, allocations: 112.9 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.649e-05/0.469, allocations: 79.28 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.469, allocations: 0 / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002786/0.4693, allocations: 0 / 1.075 GB, free: 3.023 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.0002362/0.4695, allocations: 170.5 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.438e-05/0.4696, allocations: 7.938 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4696, allocations: 4.094 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.4696, allocations: 0 / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00058/0.4702, allocations: 465.3 kB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.4705, allocations: 164.1 kB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.4709, allocations: 0.669 MB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.128e-05/0.4709, allocations: 0 / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.471, allocations: 11.44 kB / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.471, allocations: 0 / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.00257/0.4735, allocations: 176.8 kB / 1.077 GB, free: 1.309 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches