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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001019/0.001019, allocations: 98.88 kB / 16.02 MB, free: 76 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.001238/0.001239, allocations: 184.9 kB / 16.92 MB, free: 6.684 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.483/1.483, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.874/2.874, allocations: 462.6 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003924, allocations: 11.52 kB / 0.9034 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3526, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0007823/0.3534, allocations: 286 kB / 1.06 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 4.81e-05/0.3535, allocations: 0 / 1.06 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.3535, allocations: 0 / 1.06 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.3536, allocations: 3.938 kB / 1.06 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.556e-05/0.3536, allocations: 0 / 1.06 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.217e-05/0.3536, allocations: 0 / 1.06 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.47e-05/0.3537, allocations: 0 / 1.06 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.094e-05/0.3538, allocations: 8 kB / 1.06 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.512e-05/0.3538, allocations: 0 / 1.06 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 1.962e-05/0.3538, allocations: 0 / 1.06 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.3539, allocations: 0 / 1.06 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-06/0.3539, allocations: 0 / 1.06 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.319e-05/0.3539, allocations: 0 / 1.06 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.3539, allocations: 29.7 kB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.91e-05/0.354, allocations: 7.984 kB / 1.06 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.354, allocations: 0 / 1.06 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.523e-06/0.354, allocations: 0 / 1.06 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.354, allocations: 7.875 kB / 1.06 GB, free: 4.59 MB / 0.8106 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.0003301/0.3543, allocations: 311.5 kB / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3544, allocations: 12.09 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.3544, allocations: 0.9375 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.3546, allocations: 168.4 kB / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3546, allocations: 384 / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.3547, allocations: 384 / 1.06 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.523e-05/0.3548, allocations: 30.27 kB / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3548, allocations: 192 / 1.06 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3548, allocations: 3.938 kB / 1.06 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3548, allocations: 4 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.896e-05/0.3548, allocations: 7.938 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.3553, allocations: 379.5 kB / 1.061 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.3554, allocations: 173.1 kB / 1.061 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.3555, allocations: 80.14 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.3555, allocations: 83.31 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.3556, allocations: 105.8 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.3556, allocations: 0 / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.721e-05/0.3556, allocations: 33.67 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.3557, allocations: 126.7 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3558, allocations: 105.8 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3558, allocations: 25.7 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.3559, allocations: 80.14 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.3559, allocations: 0 / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.3559, allocations: 9.719 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3561, allocations: 314.8 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.208e-06/0.3561, allocations: 0 / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.596e-06/0.3561, allocations: 0 / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.953e-05/0.3561, allocations: 75.28 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.239e-05/0.3562, allocations: 79.41 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.682e-05/0.3562, allocations: 37.58 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.3563, allocations: 83.27 kB / 1.062 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.709e-05/0.3563, allocations: 79.28 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.202e-05/0.3564, allocations: 150.6 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.148e-05/0.3564, allocations: 83.22 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-05/0.3565, allocations: 150.6 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.275e-05/0.3566, allocations: 87.16 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.3566, allocations: 79.28 kB / 1.062 GB, free: 1.457 MB / 0.8106 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.0001428/0.3568, allocations: 268.3 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.3569, allocations: 108.9 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.354e-05/0.3569, allocations: 104.1 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.502e-05/0.357, allocations: 184.3 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-05/0.3571, allocations: 180.2 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-05/0.3572, allocations: 176.3 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.3575, allocations: 409.1 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.061e-05/0.3575, allocations: 105 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.358e-05/0.3576, allocations: 105 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.039e-05/0.3577, allocations: 188.2 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001437/0.3578, allocations: 176.6 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.955e-05/0.3579, allocations: 188.2 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-05/0.358, allocations: 180.3 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.3582, allocations: 311.7 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.3583, allocations: 182.1 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.3585, allocations: 184.1 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.3586, allocations: 105 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.3587, allocations: 180.2 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/0.3588, allocations: 104.9 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001053/0.3589, allocations: 87.28 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3589, allocations: 0 / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002959/0.3592, allocations: 0 / 1.066 GB, free: 13.79 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.0001438/0.3593, allocations: 170.5 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.207e-05/0.3594, allocations: 0 / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3594, allocations: 0 / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.3594, allocations: 4.094 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.3598, allocations: 0.5301 MB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.36, allocations: 187.6 kB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.3603, allocations: 0.6731 MB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.366e-05/0.3603, allocations: 7.438 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3603, allocations: 4 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of Templates: time 0.001609/0.3619, allocations: 315.8 kB / 1.068 GB, free: 11.83 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/jenkins1/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