Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_H,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H",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.001171/0.001171, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001148/0.001148, allocations: 191.9 kB / 16.14 MB, free: 6.734 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6417/0.6431, allocations: 140.4 MB / 0.949 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001775/0.6449, allocations: 0.7594 MB / 0.9498 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007235/0.6456, allocations: 0.8459 MB / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.964e-05/0.6457, allocations: 1.375 kB / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.6457, allocations: 0 / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.267e-05/0.6458, allocations: 5.312 kB / 0.9506 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001434/0.646, allocations: 22.66 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.27e-05/0.646, allocations: 59.16 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.6462, allocations: 18.88 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.6462, allocations: 21.55 kB / 0.9507 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.6463, allocations: 30.7 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.6463, allocations: 2.75 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.6464, allocations: 2.75 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.6464, allocations: 5.375 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.423e-05/0.6464, allocations: 26.67 kB / 0.9508 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.058e-05/0.6465, allocations: 66.45 kB / 0.9509 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.6465, allocations: 4 kB / 0.9509 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.21e-07/0.6465, allocations: 0 / 0.9509 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.6465, allocations: 0 / 0.9509 GB, free: 7.652 MB / 0.7169 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.000386/0.6469, allocations: 369.2 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.647, allocations: 9.625 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.647, allocations: 36.06 kB / 0.9513 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.647, allocations: 12.95 kB / 0.9513 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.6473, allocations: 191.2 kB / 0.9515 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.6473, allocations: 5.75 kB / 0.9515 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.6473, allocations: 11.06 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.6474, allocations: 55.58 kB / 0.9515 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.6474, allocations: 3.938 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.6474, allocations: 1.375 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.6475, allocations: 5.312 kB / 0.9515 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.423e-05/0.6476, allocations: 31.42 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.6479, allocations: 305.9 kB / 0.9519 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.6482, allocations: 67.03 kB / 0.9519 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.6482, allocations: 24.06 kB / 0.9519 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.6482, allocations: 4 kB / 0.9519 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.166e-05/0.6483, allocations: 31.75 kB / 0.952 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.6483, allocations: 0 / 0.952 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002233/0.6485, allocations: 65.95 kB / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.6485, allocations: 56.55 kB / 0.9521 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.866e-05/0.6486, allocations: 118.2 kB / 0.9522 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.6486, allocations: 25.7 kB / 0.9522 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.6487, allocations: 103.7 kB / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.6487, allocations: 9.234 kB / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.6487, allocations: 17.31 kB / 0.9524 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.788e-05/0.6488, allocations: 321.3 kB / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/0.6488, allocations: 18.81 kB / 0.9527 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.6489, allocations: 29.2 kB / 0.9527 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.465e-05/0.649, allocations: 29.44 kB / 0.9527 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.649, allocations: 0 / 0.9527 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001189/0.6491, allocations: 67.61 kB / 0.9528 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6491, allocations: 5.375 kB / 0.9528 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.6491, allocations: 0 / 0.9528 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.6491, allocations: 1.156 kB / 0.9528 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.602e-05/0.6492, allocations: 3.844 kB / 0.9528 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.6492, allocations: 9.156 kB / 0.9528 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.6493, allocations: 13.67 kB / 0.9528 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.6493, allocations: 5.469 kB / 0.9528 GB, free: 5.656 MB / 0.7169 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 (shaH.hys.y,$PRE.shaH.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 5.589e-05/0.6493, allocations: 120.6 kB / 0.9529 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.6494, allocations: 6.875 kB / 0.953 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.6494, allocations: 5.094 kB / 0.953 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6494, allocations: 5.391 kB / 0.953 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.6494, allocations: 0 / 0.953 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.6494, allocations: 0 / 0.953 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.6495, allocations: 183.7 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.6496, allocations: 1.625 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.6496, allocations: 7 kB / 0.9531 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.6496, allocations: 1.344 kB / 0.9532 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.6496, allocations: 0 / 0.9532 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6496, allocations: 1.406 kB / 0.9532 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6496, allocations: 0 / 0.9532 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.6498, allocations: 158 kB / 0.9533 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.6498, allocations: 87.73 kB / 0.9534 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.6498, allocations: 7.984 kB / 0.9534 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.6499, allocations: 4.094 kB / 0.9534 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.6499, allocations: 12.08 kB / 0.9534 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.6499, allocations: 1.25 kB / 0.9534 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.65, allocations: 92.95 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.65, allocations: 0 / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000213/0.6502, allocations: 10.81 kB / 0.9535 GB, free: 4.938 MB / 0.7169 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.000294/0.6505, allocations: 0.7014 MB / 0.9542 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.6507, allocations: 35.73 kB / 0.9542 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6507, allocations: 0 / 0.9542 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.875e-05/0.6507, allocations: 17.58 kB / 0.9542 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.651, allocations: 4 kB / 0.9542 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.652, allocations: 1.34 MB / 0.9556 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.6521, allocations: 0.6821 MB / 0.9562 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.394e-05/0.6522, allocations: 10.92 kB / 0.9562 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.6522, allocations: 19.31 kB / 0.9563 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.6522, allocations: 0 / 0.9563 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01037/0.6626, allocations: 1.51 MB / 0.9577 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.6628, allocations: 194.2 kB / 0.9579 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.263, allocations: 4 kB / 0.9579 GB, free: 1.195 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches