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.001085/0.001085, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001118/0.001118, allocations: 194.3 kB / 16.25 MB, free: 6.633 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.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.473/2.473, allocations: 437 MB / 0.7101 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5643/0.5655, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001843/0.5674, allocations: 0.7692 MB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008326/0.5683, allocations: 0.8429 MB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.5683, allocations: 0 / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.5684, allocations: 0 / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.209e-05/0.5685, allocations: 23.84 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001388/0.5686, allocations: 15.98 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.125e-05/0.5687, allocations: 59.8 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.606e-05/0.5688, allocations: 23.97 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.717e-05/0.5689, allocations: 23.92 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.293e-05/0.569, allocations: 27.84 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.569, allocations: 12 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.569, allocations: 4 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.569, allocations: 8 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.5691, allocations: 31.8 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.796e-05/0.5692, allocations: 62.08 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5692, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5692, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5692, allocations: 0 / 1.019 GB, free: 0.7969 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.0004264/0.5696, allocations: 379.1 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.5697, allocations: 12.03 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.5697, allocations: 34.75 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.673e-05/0.5697, allocations: 0.9375 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.57, allocations: 188.3 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.57, allocations: 8.375 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.57, allocations: 384 / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.5701, allocations: 62.17 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.5702, allocations: 3.938 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.5702, allocations: 3.984 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.5702, allocations: 4 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.5703, allocations: 39.89 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.5707, allocations: 296.7 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.5709, allocations: 78.52 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.571, allocations: 16.8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.571, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.571, allocations: 30.56 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.571, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002299/0.5713, allocations: 77.66 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.5713, allocations: 51.41 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.5714, allocations: 117.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.5714, allocations: 29.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/0.5715, allocations: 96.06 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.445e-05/0.5715, allocations: 3.906 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.5715, allocations: 17.72 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.5716, allocations: 330.7 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.5717, allocations: 16 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.891e-05/0.5717, allocations: 25.7 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.551e-05/0.5718, allocations: 28.84 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5718, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.572, allocations: 65.58 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.572, allocations: 8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.572, allocations: 4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.417e-06/0.572, allocations: 4.031 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/0.5721, allocations: 15.92 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.5721, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.346e-05/0.5721, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.5722, allocations: 4 kB / 1.021 GB, free: 14.54 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 7.676e-05/0.5722, allocations: 122.3 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.5723, allocations: 7.844 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.5723, allocations: 11.91 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.5723, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5723, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.5723, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.5725, allocations: 181.6 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5725, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.092e-05/0.5725, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5725, allocations: 336 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.5725, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5725, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5726, allocations: 3.984 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.5727, allocations: 163.4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.458e-05/0.5728, allocations: 89 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.5728, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.5729, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.5729, allocations: 11.98 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.5729, allocations: 3.938 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.573, allocations: 91.27 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.573, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002158/0.5732, allocations: 15.94 kB / 1.021 GB, free: 13.74 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.0004269/0.5736, allocations: 0.6928 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.5738, allocations: 39.92 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5738, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.5739, allocations: 19.98 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.5741, allocations: 8 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.5753, allocations: 1.339 MB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.5756, allocations: 0.6884 MB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.094e-05/0.5756, allocations: 11.92 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.5756, allocations: 11.44 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5757, allocations: 0 / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01085/0.5865, allocations: 1.575 MB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.5867, allocations: 202.4 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.211, allocations: 0 / 1.026 GB, free: 9.074 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