Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_10_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.001179/0.001179, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 192.4 kB / 16.53 MB, free: 6.664 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437 MB / 0.7104 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 63.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5838/0.5859, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002294/0.5883, allocations: 0.7064 MB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.5895, allocations: 0.8468 MB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.876e-05/0.5896, allocations: 4 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.5896, allocations: 7.875 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.5898, allocations: 7.922 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.5899, allocations: 23.92 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.883e-05/0.59, allocations: 59.78 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.5902, allocations: 27.97 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.5903, allocations: 23.92 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.067e-05/0.5904, allocations: 31.84 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.5904, allocations: 4 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.5904, allocations: 4 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.5904, allocations: 11.98 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.5905, allocations: 23.88 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.5906, allocations: 66.02 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5906, allocations: 3.984 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.966e-06/0.5906, allocations: 4 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.5906, allocations: 3.938 kB / 1.019 GB, free: 0.6406 MB / 0.7637 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.0004738/0.5911, allocations: 367.2 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.5912, allocations: 12.03 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.5912, allocations: 34.75 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.5913, allocations: 8.922 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.5915, allocations: 188.3 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.5916, allocations: 384 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.5916, allocations: 8.375 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.5917, allocations: 54.25 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5917, allocations: 11.86 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.5917, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5918, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.5919, allocations: 31.92 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.5923, allocations: 296.7 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.5926, allocations: 70.47 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.5927, allocations: 21 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.5927, allocations: 3.938 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.5927, allocations: 38.56 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.5927, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002552/0.593, allocations: 73.58 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.593, allocations: 55.41 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.5931, allocations: 125.8 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.5931, allocations: 25.7 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.5932, allocations: 96.2 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.5932, allocations: 7.906 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.5933, allocations: 25.64 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.5934, allocations: 314.8 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.77e-05/0.5935, allocations: 15.98 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.5935, allocations: 33.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.114e-05/0.5936, allocations: 24.84 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5937, allocations: 4.031 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001516/0.5938, allocations: 69.91 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.5938, allocations: 5.406 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5938, allocations: 3.984 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.5939, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.5939, allocations: 7.938 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5939, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.594, allocations: 7.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.594, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 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 0.0001043/0.5941, allocations: 121.8 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.5942, allocations: 7.906 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.5942, allocations: 11.84 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5942, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5942, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5943, allocations: 3.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.5945, allocations: 177.6 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5945, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.5945, allocations: 7.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.5945, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.5945, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.5946, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5946, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.5948, allocations: 159.4 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.5948, allocations: 81.02 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.5949, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.5949, allocations: 11.98 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.595, allocations: 11.98 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.595, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.51e-05/0.5951, allocations: 99.2 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5951, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000237/0.5953, allocations: 11.94 kB / 1.022 GB, free: 13.59 MB / 0.7794 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.0005695/0.5959, allocations: 0.6928 MB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001957/0.5961, allocations: 35.92 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5961, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.051e-05/0.5962, allocations: 15.98 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.5966, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.5982, allocations: 1.329 MB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.5985, allocations: 0.6923 MB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.34e-05/0.5986, allocations: 15.92 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/0.5986, allocations: 19.42 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5986, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04004/0.6387, allocations: 1.717 MB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.563/9.202, allocations: 10.52 kB / 1.026 GB, free: 9 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches