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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009716/0.009724, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.002135/0.002135, allocations: 193.9 kB / 16.68 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 2.032/2.032, allocations: 222.9 MB / 240.4 MB, free: 15.09 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 3.375/3.375, allocations: 390.3 MB / 0.6648 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 63.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668/1.67, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.003259/1.673, allocations: 0.5436 MB / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 6.223e-05/1.673, allocations: 1.062 kB / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/1.673, allocations: 0 / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/1.674, allocations: 0.5625 kB / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.211e-05/1.674, allocations: 3.938 kB / 1.088 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.456e-05/1.674, allocations: 1 kB / 1.088 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.363e-05/1.674, allocations: 2.375 kB / 1.088 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.166e-05/1.674, allocations: 3.844 kB / 1.088 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.67e-05/1.674, allocations: 4.703 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.752e-05/1.674, allocations: 1.344 kB / 1.088 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/1.674, allocations: 4 kB / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/1.674, allocations: 0 / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/1.674, allocations: 3.938 kB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/1.674, allocations: 1.031 kB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.872e-05/1.674, allocations: 3.094 kB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/1.674, allocations: 0 / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.375e-06/1.674, allocations: 1.219 kB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.674, allocations: 0 / 1.088 GB, free: 4.906 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.0003389/1.674, allocations: 316.8 kB / 1.088 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/1.675, allocations: 9.375 kB / 1.088 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/1.675, allocations: 36.12 kB / 1.088 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/1.675, allocations: 0.9375 kB / 1.088 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/1.675, allocations: 162.9 kB / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/1.675, allocations: 384 / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/1.675, allocations: 5.562 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/1.675, allocations: 31.61 kB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.675, allocations: 1.031 kB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/1.675, allocations: 0 / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.675, allocations: 1.438 kB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.109e-05/1.675, allocations: 5.469 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/1.675, allocations: 381.8 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.349e-05/1.675, allocations: 175.1 kB / 1.089 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/1.675, allocations: 84.14 kB / 1.089 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/1.676, allocations: 75.28 kB / 1.089 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/1.676, allocations: 112 kB / 1.089 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/1.676, allocations: 0 / 1.089 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.732e-05/1.676, allocations: 28.09 kB / 1.089 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/1.676, allocations: 127.5 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/1.676, allocations: 93.19 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/1.676, allocations: 27.42 kB / 1.09 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.602e-05/1.676, allocations: 89.06 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-06/1.676, allocations: 3.938 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/1.676, allocations: 11.12 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/1.676, allocations: 316.1 kB / 1.09 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.675e-06/1.676, allocations: 1.156 kB / 1.09 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/1.676, allocations: 0 / 1.09 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/1.676, allocations: 76.38 kB / 1.09 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/1.676, allocations: 75.28 kB / 1.09 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.401e-05/1.676, allocations: 32.64 kB / 1.09 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/1.676, allocations: 81.86 kB / 1.09 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/1.676, allocations: 83.23 kB / 1.09 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.975e-05/1.676, allocations: 156.2 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/1.677, allocations: 81 kB / 1.091 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.821e-05/1.677, allocations: 156.2 kB / 1.091 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/1.677, allocations: 81.17 kB / 1.091 GB, free: 17.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/1.677, allocations: 79.78 kB / 1.091 GB, free: 17.8 MB / 0.8731 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.0001557/1.677, allocations: 262.2 kB / 1.091 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.605e-05/1.677, allocations: 108.3 kB / 1.091 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.597e-05/1.677, allocations: 110.8 kB / 1.091 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-05/1.677, allocations: 180.9 kB / 1.092 GB, free: 17.12 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000117/1.677, allocations: 186.2 kB / 1.092 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001157/1.677, allocations: 180.8 kB / 1.092 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/1.678, allocations: 410.6 kB / 1.092 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.125e-05/1.678, allocations: 102.7 kB / 1.092 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/1.678, allocations: 105.4 kB / 1.092 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/1.678, allocations: 182.7 kB / 1.093 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/1.678, allocations: 182.1 kB / 1.093 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.336e-05/1.678, allocations: 182 kB / 1.093 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001061/1.678, allocations: 185.9 kB / 1.093 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/1.679, allocations: 309.7 kB / 1.093 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/1.679, allocations: 184.7 kB / 1.094 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/1.679, allocations: 182.1 kB / 1.094 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/1.679, allocations: 110.7 kB / 1.094 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.679, allocations: 178 kB / 1.094 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/1.679, allocations: 103 kB / 1.094 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.374e-05/1.679, allocations: 81.19 kB / 1.094 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.41e-07/1.679, allocations: 1.125 kB / 1.094 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004475/1.68, allocations: 0 / 1.094 GB, free: 14.16 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.0006846/1.681, allocations: 0.8088 MB / 1.095 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.674e-05/1.681, allocations: 5.062 kB / 1.095 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.681, allocations: 1.219 kB / 1.095 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.444e-06/1.681, allocations: 0 / 1.095 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/1.681, allocations: 462.4 kB / 1.096 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/1.683, allocations: 1.525 MB / 1.097 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/1.683, allocations: 0.6765 MB / 1.098 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.217e-05/1.683, allocations: 0 / 1.098 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/1.684, allocations: 7.438 kB / 1.098 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/1.684, allocations: 1.312 kB / 1.098 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/1.711, allocations: 0.9156 MB / 1.099 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/13.69, allocations: 19.27 kB / 1.099 GB, free: 10.25 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > 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