Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001249/0.001254, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001254/0.001254, allocations: 183 kB / 17.34 MB, free: 5.766 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.404/1.404, 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 9.1.3-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 64.09 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9358/0.9374, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001887/0.9393, allocations: 0.5414 MB / 1.089 GB, free: 5.203 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4.566e-05/0.9394, allocations: 4.797 kB / 1.089 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.953e-05/0.9394, allocations: 3.609 kB / 1.089 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.9394, allocations: 0 / 1.089 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.986e-05/0.9395, allocations: 3.938 kB / 1.089 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.599e-05/0.9395, allocations: 0 / 1.089 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.844e-05/0.9396, allocations: 2.891 kB / 1.089 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.416e-05/0.9396, allocations: 1.672 kB / 1.089 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.9397, allocations: 1.062 kB / 1.089 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.875e-05/0.9397, allocations: 0 / 1.089 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.9397, allocations: 4 kB / 1.089 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.97e-06/0.9397, allocations: 5.062 kB / 1.089 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.9397, allocations: 4.641 kB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.9398, allocations: 1.094 kB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.535e-05/0.9398, allocations: 10.16 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9398, allocations: 0 / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9399, allocations: 0 / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.9399, allocations: 1.5 kB / 1.089 GB, free: 5.176 MB / 0.8575 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.0002759/0.9401, allocations: 308.4 kB / 1.089 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.9402, allocations: 9.328 kB / 1.089 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.9402, allocations: 6.031 kB / 1.089 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.955e-05/0.9403, allocations: 166.5 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-06/0.9403, allocations: 1.125 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.9404, allocations: 1.469 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.9404, allocations: 35.64 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.9405, allocations: 5.312 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.9405, allocations: 0 / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.9405, allocations: 0 / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.713e-05/0.9405, allocations: 1.312 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.9408, allocations: 386.3 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.546e-05/0.9408, allocations: 170.2 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.9409, allocations: 85.75 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.9409, allocations: 75.28 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.9409, allocations: 111.6 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.9409, allocations: 0 / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.58e-05/0.941, allocations: 27.3 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.941, allocations: 127.8 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.9411, allocations: 98.83 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.9411, allocations: 25.7 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.002e-05/0.9411, allocations: 86.03 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.9412, allocations: 0 / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.9412, allocations: 10.72 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.302e-05/0.9412, allocations: 316.7 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-06/0.9412, allocations: 3.938 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-06/0.9413, allocations: 0 / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.499e-05/0.9413, allocations: 77 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/0.9413, allocations: 79.28 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.844e-05/0.9413, allocations: 29.11 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.9414, allocations: 85.2 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.9414, allocations: 76.44 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-05/0.9414, allocations: 160.2 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.459e-05/0.9415, allocations: 76.03 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.742e-05/0.9415, allocations: 160.6 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.9416, allocations: 76.59 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.9416, allocations: 85.12 kB / 1.092 GB, free: 2.109 MB / 0.8575 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.0001381/0.9417, allocations: 270.3 kB / 1.092 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.9418, allocations: 107 kB / 1.092 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.908e-05/0.9418, allocations: 105.9 kB / 1.092 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.884e-05/0.9419, allocations: 182.5 kB / 1.093 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-05/0.942, allocations: 181.9 kB / 1.093 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.869e-05/0.942, allocations: 185.6 kB / 1.093 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.9423, allocations: 401.5 kB / 1.093 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.225e-05/0.9423, allocations: 102.8 kB / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.9424, allocations: 106.5 kB / 1.094 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.137e-05/0.9424, allocations: 177.9 kB / 1.094 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/0.9425, allocations: 190.2 kB / 1.094 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-05/0.9426, allocations: 182.1 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-05/0.9426, allocations: 180.9 kB / 1.094 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.9428, allocations: 313.8 kB / 1.095 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.9428, allocations: 192.2 kB / 1.095 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.671e-05/0.9429, allocations: 179 kB / 1.095 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.943, allocations: 105.9 kB / 1.095 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.9431, allocations: 183.1 kB / 1.095 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.9431, allocations: 102.5 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.9431, allocations: 85.98 kB / 1.095 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9431, allocations: 0 / 1.095 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002541/0.9434, allocations: 1.562 kB / 1.095 GB, free: 14.47 MB / 0.8731 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.0001591/0.9436, allocations: 173.8 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 3.972e-05/0.9436, allocations: 10.86 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9436, allocations: 1.125 kB / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/0.9436, allocations: 0 / 1.096 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.944, allocations: 460 kB / 1.096 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.9442, allocations: 177.5 kB / 1.096 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.9445, allocations: 0.6713 MB / 1.097 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.463e-05/0.9445, allocations: 7.438 kB / 1.097 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.9445, allocations: 0.9688 kB / 1.097 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.001568/0.9461, allocations: 321.2 kB / 1.097 GB, free: 12.93 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches