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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001123/0.001123, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001191/0.001191, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.253/1.253, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.329/2.329, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 55.91 kB / 0.8686 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5774/0.5787, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002072/0.5808, allocations: 0.7654 MB / 1.017 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009195/0.5817, allocations: 0.8391 MB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.5818, allocations: 0 / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.5819, allocations: 7.875 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.489e-05/0.5819, allocations: 3.938 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.5821, allocations: 27.97 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.858e-05/0.5822, allocations: 55.84 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.5823, allocations: 15.98 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.337e-05/0.5824, allocations: 27.86 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.521e-05/0.5825, allocations: 27.84 kB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.5825, allocations: 4 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.5825, allocations: 0 / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.39e-05/0.5825, allocations: 15.92 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.5826, allocations: 23.86 kB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.501e-05/0.5827, allocations: 58.08 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.5827, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.32e-07/0.5827, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.5827, allocations: 0 / 1.019 GB, free: 0.8789 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.000462/0.5832, allocations: 375.2 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.5832, allocations: 8.031 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.07e-05/0.5833, allocations: 42.73 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.5833, allocations: 4.875 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.5835, allocations: 192.2 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5836, allocations: 8.312 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.5836, allocations: 4.359 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.5837, allocations: 62.23 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.5837, allocations: 3.938 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.5837, allocations: 0 / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.5837, allocations: 0 / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.5838, allocations: 27.98 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.5843, allocations: 312.6 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.5845, allocations: 66.59 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.5846, allocations: 16.94 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.5846, allocations: 4 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.5846, allocations: 34.56 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.5847, allocations: 3.938 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002303/0.5849, allocations: 73.52 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.5849, allocations: 51.41 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.585, allocations: 125.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.585, allocations: 25.7 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.5851, allocations: 92.08 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.5851, allocations: 15.89 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.5852, allocations: 17.72 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.5853, allocations: 318.8 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.395e-05/0.5853, allocations: 15.98 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.748e-05/0.5854, allocations: 25.7 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.713e-05/0.5855, allocations: 32.84 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.5855, allocations: 0 / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001399/0.5856, allocations: 77.55 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5856, allocations: 8 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5857, allocations: 3.938 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.5857, allocations: 0 / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.636e-05/0.5857, allocations: 4 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.5857, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.5858, allocations: 7.984 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.5858, allocations: 4 kB / 1.021 GB, free: 14.61 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.901e-05/0.5859, allocations: 122.3 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.5859, allocations: 3.906 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.586, allocations: 15.89 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.586, allocations: 336 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.586, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.586, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.5861, allocations: 177.6 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5861, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.539e-05/0.5862, allocations: 11.92 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.5862, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.5862, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5862, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5862, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001605/0.5864, allocations: 155.5 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.5864, allocations: 89.02 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.5865, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.5865, allocations: 7.984 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.5866, allocations: 7.984 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.5866, allocations: 4 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.5867, allocations: 95.27 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5867, allocations: 4 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002201/0.5869, allocations: 11.88 kB / 1.021 GB, free: 13.82 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.000424/0.5873, allocations: 0.6967 MB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.5875, allocations: 35.97 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5875, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.375e-05/0.5876, allocations: 19.94 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.5878, allocations: 15.88 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.5891, allocations: 1.336 MB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.5893, allocations: 0.6848 MB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.367e-05/0.5894, allocations: 4 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.5895, allocations: 15.42 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.5895, allocations: 4 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0106/0.6001, allocations: 1.518 MB / 1.025 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.6003, allocations: 197.4 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.208, allocations: 3.5 kB / 1.026 GB, free: 9.195 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