Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.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.Shade.Validation.Shade_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.009205/0.009205, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.002022/0.002022, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.311/2.311, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.05/4.05, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 66.61 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4022, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.004021/0.4063, allocations: 0.697 MB / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002122/0.4085, allocations: 0.8429 MB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.928e-05/0.4086, allocations: 4 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.609e-05/0.4087, allocations: 3.938 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.4089, allocations: 7.875 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.4091, allocations: 23.97 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.4093, allocations: 63.73 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.4095, allocations: 19.97 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.4097, allocations: 27.92 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.4098, allocations: 27.86 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.4098, allocations: 8 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.688e-05/0.4098, allocations: 4 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.4099, allocations: 11.97 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.4099, allocations: 31.8 kB / 1.089 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.4102, allocations: 62.66 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4102, allocations: 3.938 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of FrontEnd: time 7.364e-06/0.4102, allocations: 4 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.4102, allocations: 0 / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008267/0.4111, allocations: 368.1 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.549e-05/0.4111, allocations: 8.031 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.4112, allocations: 42.73 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.001e-05/0.4113, allocations: 16.78 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.4117, allocations: 192.2 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.4118, allocations: 4.375 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.4118, allocations: 4.375 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.4121, allocations: 58.23 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.4121, allocations: 3.938 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.4122, allocations: 4 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.4122, allocations: 0 / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.4124, allocations: 27.92 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007331/0.4131, allocations: 296.8 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.4137, allocations: 74.47 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4138, allocations: 21 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.4138, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.4139, allocations: 30.56 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.4139, allocations: 0 / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004222/0.4143, allocations: 77.58 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.4144, allocations: 51.41 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.4145, allocations: 121.8 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.4146, allocations: 25.7 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.783e-05/0.4147, allocations: 92.08 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.4147, allocations: 23.73 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.4148, allocations: 13.72 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.415, allocations: 322.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.4151, allocations: 15.98 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.4152, allocations: 33.7 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.4153, allocations: 24.84 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4153, allocations: 3.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002191/0.4156, allocations: 61.95 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.4156, allocations: 8 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4156, allocations: 4.078 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.4157, allocations: 3.984 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.4157, allocations: 7.938 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4158, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.679e-05/0.4159, allocations: 11.98 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.4159, allocations: 0 / 1.091 GB, free: 13.91 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: 2 (shaT.hys.y,$PRE.shaT.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001349/0.416, allocations: 117.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.4161, allocations: 3.906 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.855e-05/0.4161, allocations: 19.89 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4162, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4162, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.4162, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.4165, allocations: 177.7 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4165, allocations: 3.938 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/0.4166, allocations: 7.984 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.4166, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.4166, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4166, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4167, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.417, allocations: 171.3 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.982e-05/0.4171, allocations: 81.11 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.4171, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.4172, allocations: 7.984 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.4173, allocations: 7.984 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.4173, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.377e-05/0.4174, allocations: 103.3 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4175, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003683/0.4178, allocations: 4 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (shaT.hys.y) * Number of discrete states: 1 (shaT.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0006778/0.4185, allocations: 0.6928 MB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.4188, allocations: 39.97 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4188, allocations: 3.938 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.4189, allocations: 12 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.4195, allocations: 11.98 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.4216, allocations: 1.337 MB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.422, allocations: 0.6889 MB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.908e-05/0.4221, allocations: 11.97 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.4222, allocations: 15.44 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of SimCode: time 7.52e-07/0.4222, allocations: 0 / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.45, allocations: 1.745 MB / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.01, allocations: 4.062 kB / 1.096 GB, free: 8.516 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches