Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.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_T,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_T",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.001297/0.001296, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00137/0.00137, allocations: 198 kB / 16.25 MB, free: 6.625 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.319/1.319, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.395/2.395, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 71.88 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5756/0.5769, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.00182/0.5788, allocations: 0.7615 MB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008392/0.5797, allocations: 0.8351 MB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.5797, allocations: 0 / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.5797, allocations: 3.938 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.471e-05/0.5798, allocations: 15.86 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.58, allocations: 23.98 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.153e-05/0.5801, allocations: 67.72 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.5802, allocations: 19.97 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.141e-05/0.5802, allocations: 27.92 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.5803, allocations: 23.86 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.5803, allocations: 12 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.5804, allocations: 4 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.5804, allocations: 7.984 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.5804, allocations: 35.78 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.117e-05/0.5805, allocations: 58.09 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.5805, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5805, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.5805, allocations: 4 kB / 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.0004181/0.581, allocations: 367.2 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.581, allocations: 12.03 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.581, allocations: 42.73 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.5811, allocations: 8.938 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.5813, allocations: 192.2 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.5813, allocations: 4.375 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.5813, allocations: 8.312 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.5815, allocations: 54.23 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.5815, allocations: 3.938 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.5815, allocations: 0 / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5815, allocations: 7.984 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.5816, allocations: 27.98 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.582, allocations: 304.7 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.5823, allocations: 70.53 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.5823, allocations: 21 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.5823, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.5824, allocations: 34.5 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.5824, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002169/0.5826, allocations: 73.58 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.5826, allocations: 51.41 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.486e-05/0.5827, allocations: 125.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.5827, allocations: 29.7 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.5828, allocations: 88.08 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.5828, allocations: 15.89 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.5829, allocations: 13.72 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.583, allocations: 318.8 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/0.583, allocations: 19.98 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.703e-05/0.5831, allocations: 33.64 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.665e-05/0.5832, allocations: 32.78 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5832, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001313/0.5833, allocations: 69.58 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.5833, allocations: 4 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.5833, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.5834, allocations: 4.031 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.402e-05/0.5834, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5834, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.5835, allocations: 11.98 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.5835, allocations: 0 / 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 (shaT.hys.y,$PRE.shaT.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.423e-05/0.5836, allocations: 126.2 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.5836, allocations: 3.906 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.5836, allocations: 15.89 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.5836, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5836, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.5836, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.5838, allocations: 173.6 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5838, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.5839, allocations: 7.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.5839, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.5839, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5839, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5839, allocations: 3.984 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.5841, allocations: 167.8 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.5841, allocations: 89.02 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.5841, allocations: 3.938 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.5842, allocations: 7.984 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.5842, allocations: 7.984 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.5843, allocations: 0 / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.783e-05/0.5843, allocations: 99.27 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5843, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002097/0.5845, allocations: 7.938 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.0004024/0.5849, allocations: 0.6928 MB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.5851, allocations: 43.91 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.5851, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.5851, allocations: 12 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.000253/0.5854, allocations: 13.81 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.001177/0.5866, allocations: 1.337 MB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.5869, allocations: 0.6975 MB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.24e-05/0.5869, allocations: 4 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.587, allocations: 19.42 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.587, allocations: 4 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.5984, allocations: 1.563 MB / 1.026 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.5987, allocations: 200.9 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.254, allocations: 3.938 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches