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.0008415/0.0008414, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006184/0.006184, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.471/2.471, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003015, allocations: 8.281 kB / 0.8729 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5747/0.575, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.0007974/0.5759, allocations: 432.8 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009058/0.5768, allocations: 0.8351 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.5768, allocations: 4 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.5769, allocations: 3.984 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.872e-05/0.5769, allocations: 3.938 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.5771, allocations: 31.91 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.833e-05/0.5772, allocations: 55.8 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.5773, allocations: 19.97 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.834e-05/0.5774, allocations: 19.94 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.5775, allocations: 31.83 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.5775, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.5775, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.5775, allocations: 4 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.816e-05/0.5776, allocations: 53.5 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.801e-05/0.5777, allocations: 54.06 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5777, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5777, allocations: 4 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.5777, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.7794 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.0004088/0.5781, allocations: 367.3 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.5782, allocations: 12.03 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.5782, allocations: 34.69 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.5782, allocations: 8.844 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.5785, allocations: 188.3 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.5785, allocations: 4.375 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.5785, allocations: 12.31 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.5786, allocations: 62.22 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5787, allocations: 3.938 kB / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.5787, allocations: 0 / 1.025 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.5787, allocations: 7.938 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.5788, allocations: 39.91 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.5792, allocations: 304.8 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.5795, allocations: 82.53 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.5796, allocations: 20.84 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.5796, allocations: 0 / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.5796, allocations: 42.64 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.5796, allocations: 4 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000239/0.5799, allocations: 73.58 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.5799, allocations: 51.41 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.58, allocations: 117.8 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.58, allocations: 29.7 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.5801, allocations: 104 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.5801, allocations: 11.91 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.5802, allocations: 9.719 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.5802, allocations: 326.8 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.268e-05/0.5803, allocations: 15.94 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/0.5804, allocations: 33.7 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.968e-05/0.5805, allocations: 32.88 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5805, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001475/0.5806, allocations: 69.67 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.5807, allocations: 6.188 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5807, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.5807, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.5807, allocations: 11.98 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.5808, allocations: 3.938 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.5808, allocations: 15.91 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.5808, allocations: 0 / 1.027 GB, free: 12 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 8.947e-05/0.5809, allocations: 126.2 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.581, allocations: 4 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.581, allocations: 7.906 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.581, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.581, allocations: 0 / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.581, allocations: 8 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.5812, allocations: 173.6 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.5812, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.107e-05/0.5812, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5812, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5813, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5813, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5813, allocations: 3.984 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.5814, allocations: 171.3 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.5815, allocations: 81.42 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.5815, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.5816, allocations: 8 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.5816, allocations: 7.984 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.5817, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.719e-05/0.5817, allocations: 103.7 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5817, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002216/0.5819, allocations: 15.84 kB / 1.027 GB, free: 11.2 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.000415/0.5824, allocations: 0.6929 MB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.5825, allocations: 39.92 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5825, allocations: 0 / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.818e-05/0.5826, allocations: 19.98 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.5829, allocations: 8 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.5841, allocations: 1.367 MB / 1.029 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.5843, allocations: 0.6887 MB / 1.03 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.051e-05/0.5844, allocations: 4 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.5844, allocations: 23.42 kB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of SimCode: time 4.11e-07/0.5844, allocations: 0 / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.5951, allocations: 1.45 MB / 1.032 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.5953, allocations: 197.9 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.209, allocations: 4 kB / 1.032 GB, free: 6.633 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