Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 110.7 kB / 16.37 MB, free: 6.438 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.002323/0.002323, allocations: 197.8 kB / 17.31 MB, free: 5.777 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.548/2.548, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 60.16 kB / 0.8774 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3987, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002586/0.4014, allocations: 0.5686 MB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 4.163e-05/0.4015, allocations: 0 / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.4015, allocations: 0 / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.495e-05/0.4015, allocations: 0 / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.984e-05/0.4016, allocations: 0 / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.599e-05/0.4016, allocations: 0 / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.976e-05/0.4017, allocations: 4 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.962e-05/0.4018, allocations: 0 / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.4018, allocations: 4 kB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.411e-05/0.4018, allocations: 4 kB / 1.027 GB, free: 1.469 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.4018, allocations: 4 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-06/0.4019, allocations: 0 / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.4019, allocations: 3.938 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.4019, allocations: 11.91 kB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.104e-05/0.402, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.402, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.034e-06/0.402, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.402, allocations: 0 / 1.027 GB, free: 1.449 MB / 0.795 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.000348/0.4023, allocations: 315.6 kB / 1.028 GB, free: 1.09 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4024, allocations: 12.03 kB / 1.028 GB, free: 1.078 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.4024, allocations: 4.938 kB / 1.028 GB, free: 1.074 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.4026, allocations: 160.4 kB / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.4026, allocations: 384 / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.4026, allocations: 384 / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.088e-05/0.4027, allocations: 30.27 kB / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.4027, allocations: 192 / 1.028 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4027, allocations: 3.938 kB / 1.028 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4027, allocations: 0 / 1.028 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.823e-05/0.4028, allocations: 7.938 kB / 1.028 GB, free: 0.832 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.4031, allocations: 379.5 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.841e-05/0.4032, allocations: 173.1 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.286e-05/0.4033, allocations: 82.59 kB / 1.028 GB, free: 152 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.4033, allocations: 83.31 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.775e-05/0.4034, allocations: 113.8 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4034, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.894e-05/0.4035, allocations: 29.69 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.4036, allocations: 126.7 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.4036, allocations: 93.86 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.4037, allocations: 25.83 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.4037, allocations: 84.14 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-06/0.4037, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.4037, allocations: 25.59 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4039, allocations: 310.8 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.619e-06/0.4039, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-06/0.4039, allocations: 0 / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.4039, allocations: 79.27 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.428e-05/0.4039, allocations: 79.28 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.841e-05/0.404, allocations: 37.58 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.4041, allocations: 79.28 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/0.4041, allocations: 75.28 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.4043, allocations: 158.5 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.487e-05/0.4043, allocations: 75.28 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001043/0.4044, allocations: 154.6 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.4045, allocations: 83.22 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.4045, allocations: 83.27 kB / 1.03 GB, free: 14.31 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.0001603/0.4047, allocations: 264.3 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.351e-05/0.4048, allocations: 104.9 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.4048, allocations: 108.1 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.081e-05/0.4049, allocations: 184.3 kB / 1.031 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-05/0.405, allocations: 184.2 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.383e-05/0.405, allocations: 176.3 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.4053, allocations: 413.1 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.582e-05/0.4053, allocations: 109 kB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.4054, allocations: 104.9 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.624e-05/0.4054, allocations: 184.3 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/0.4055, allocations: 176.3 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.645e-05/0.4056, allocations: 180.5 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.9e-05/0.4057, allocations: 180.2 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.4058, allocations: 315.7 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.4059, allocations: 186 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/0.406, allocations: 188.2 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.4061, allocations: 101 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.4062, allocations: 184.2 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.4062, allocations: 105 kB / 1.033 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.4062, allocations: 79.28 kB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.4062, allocations: 0 / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002684/0.4065, allocations: 0 / 1.034 GB, free: 10.63 MB / 0.8106 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.0001534/0.4067, allocations: 184.7 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 4.201e-05/0.4067, allocations: 0 / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4067, allocations: 0 / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/0.4067, allocations: 3.938 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.4072, allocations: 463.7 kB / 1.034 GB, free: 9.984 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00022/0.4074, allocations: 156.3 kB / 1.034 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.4077, allocations: 0.6729 MB / 1.035 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.341e-05/0.4077, allocations: 3.984 kB / 1.035 GB, free: 9.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.4077, allocations: 7.438 kB / 1.035 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of SimCode: time 2.11e-07/0.4077, allocations: 0 / 1.035 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of Templates: time 0.001983/0.4097, allocations: 160.8 kB / 1.035 GB, free: 8.938 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches