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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001417/0.001418, allocations: 102.6 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.489/1.489, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 68.55 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3736, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002238/0.3759, allocations: 0.536 MB / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 4.773e-05/0.376, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.376, allocations: 3.828 kB / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.3761, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.255e-05/0.3761, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.94e-05/0.3762, allocations: 3.984 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.562e-05/0.3763, allocations: 4 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/0.3763, allocations: 4 kB / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.897e-05/0.3764, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.242e-05/0.3764, allocations: 3.938 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.3764, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-06/0.3764, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.3764, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.3765, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 6.873e-05/0.3765, allocations: 7.922 kB / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.3765, allocations: 0 / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3765, allocations: 0 / 1.065 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3766, allocations: 0 / 1.065 GB, free: 14.44 MB / 0.8419 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.0003293/0.3769, allocations: 315.5 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3769, allocations: 12.66 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.377, allocations: 0.9375 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3771, allocations: 164.4 kB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.3771, allocations: 384 / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3771, allocations: 384 / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.652e-05/0.3772, allocations: 30.27 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3773, allocations: 4.172 kB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3773, allocations: 3.938 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3773, allocations: 4 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.3773, allocations: 3.938 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.3777, allocations: 383.5 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.715e-05/0.3778, allocations: 173.1 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.3778, allocations: 84.17 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.3778, allocations: 79.28 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.3779, allocations: 113.8 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.153e-06/0.3779, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 6.944e-05/0.378, allocations: 25.7 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.378, allocations: 126.7 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.06e-05/0.3781, allocations: 93.86 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3781, allocations: 25.7 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.3782, allocations: 92.06 kB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-06/0.3782, allocations: 4.125 kB / 1.066 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.3782, allocations: 13.72 kB / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3783, allocations: 310.8 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.358e-06/0.3784, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.3784, allocations: 0 / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/0.3784, allocations: 79.22 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/0.3784, allocations: 75.28 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.466e-05/0.3785, allocations: 37.58 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.3785, allocations: 83.28 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/0.3786, allocations: 75.28 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.648e-05/0.3786, allocations: 158.5 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.836e-05/0.3787, allocations: 83.27 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-05/0.3787, allocations: 154.5 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.337e-05/0.3788, allocations: 75.28 kB / 1.068 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.3788, allocations: 83.28 kB / 1.068 GB, free: 11.3 MB / 0.8419 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.000116/0.379, allocations: 260.9 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.379, allocations: 104.9 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.3791, allocations: 116.1 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.47e-05/0.3792, allocations: 180.2 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.992e-05/0.3792, allocations: 180.3 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.156e-05/0.3793, allocations: 176.3 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.3796, allocations: 417.1 kB / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-05/0.3796, allocations: 101 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.3797, allocations: 104.9 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.076e-05/0.3797, allocations: 184.2 kB / 1.069 GB, free: 9.387 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/0.3798, allocations: 184.2 kB / 1.07 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-05/0.3799, allocations: 180.5 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.226e-05/0.3799, allocations: 176.3 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.3801, allocations: 315.6 kB / 1.07 GB, free: 8.504 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/0.3802, allocations: 186.1 kB / 1.07 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-05/0.3803, allocations: 184.2 kB / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.563e-05/0.3804, allocations: 105 kB / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.3805, allocations: 184.2 kB / 1.071 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/0.3805, allocations: 105 kB / 1.071 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.957e-05/0.3806, allocations: 79.27 kB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3806, allocations: 4.094 kB / 1.071 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002538/0.3808, allocations: 0 / 1.071 GB, free: 7.621 MB / 0.8419 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.0001579/0.381, allocations: 174.5 kB / 1.071 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.457e-05/0.381, allocations: 0 / 1.071 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3811, allocations: 0 / 1.071 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.387e-06/0.3811, allocations: 3.938 kB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.3815, allocations: 473.7 kB / 1.072 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.3818, allocations: 182.1 kB / 1.072 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3821, allocations: 0.6768 MB / 1.072 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.3821, allocations: 7.438 kB / 1.072 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.3821, allocations: 0 / 1.072 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of Templates: time 0.001588/0.3837, allocations: 315.9 kB / 1.073 GB, free: 5.738 MB / 0.8419 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