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.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_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.0009155/0.0009155, allocations: 90.53 kB / 15.35 MB, free: 0.7422 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.005992/0.005992, allocations: 181 kB / 16.26 MB, free: 6.605 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.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.432/2.432, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 11.98 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6011/0.6015, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.0008752/0.6024, allocations: 428.9 kB / 1.024 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008892/0.6033, allocations: 0.8429 MB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.6034, allocations: 0 / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.6034, allocations: 4 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.404e-05/0.6035, allocations: 11.92 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001407/0.6036, allocations: 19.92 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.775e-05/0.6037, allocations: 51.86 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.6038, allocations: 27.95 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.42e-05/0.6039, allocations: 11.94 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.604, allocations: 31.84 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.604, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.6041, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.6041, allocations: 7.938 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.6041, allocations: 53.55 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.997e-05/0.6042, allocations: 54.08 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6042, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.936e-06/0.6043, allocations: 3.938 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.6043, allocations: 3.938 kB / 1.025 GB, free: 14.28 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.0004304/0.6047, allocations: 367.3 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.6047, allocations: 8.031 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.6048, allocations: 30.75 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.6048, allocations: 8.844 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.605, allocations: 196.2 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.6051, allocations: 4.375 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.6051, allocations: 4.375 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.6052, allocations: 62.23 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6052, allocations: 3.938 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.6052, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.6053, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.6054, allocations: 39.91 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.6058, allocations: 300.8 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.6061, allocations: 90.45 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.6061, allocations: 20.92 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.6061, allocations: 0 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.6062, allocations: 30.56 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.6062, allocations: 3.938 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.00024/0.6064, allocations: 85.66 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.6065, allocations: 51.41 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.6066, allocations: 117.8 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.6066, allocations: 29.7 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.6067, allocations: 99.97 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.6067, allocations: 7.844 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.6067, allocations: 21.72 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.6068, allocations: 318.8 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.252e-05/0.6069, allocations: 12 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.766e-05/0.607, allocations: 33.7 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.79e-05/0.6071, allocations: 40.81 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6071, allocations: 0 / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001851/0.6073, allocations: 65.95 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.6073, allocations: 8 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.6073, allocations: 48 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.6073, allocations: 3.984 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/0.6074, allocations: 11.92 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6074, allocations: 3.984 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.307e-05/0.6075, allocations: 19.91 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.6075, allocations: 4 kB / 1.027 GB, free: 11.98 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 8.008e-05/0.6076, allocations: 122.3 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.6076, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.6076, allocations: 7.906 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.6076, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6076, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.6076, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.6078, allocations: 189.6 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.6078, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.6079, allocations: 4 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.6079, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.6079, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6079, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6079, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.6081, allocations: 171.3 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.6081, allocations: 85.09 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.6081, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.6082, allocations: 4 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.6083, allocations: 11.98 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.6083, allocations: 4 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.6083, allocations: 91.7 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6083, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002126/0.6086, allocations: 19.78 kB / 1.027 GB, free: 11.18 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.0004254/0.609, allocations: 0.6967 MB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.6091, allocations: 43.92 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6091, allocations: 0 / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.494e-05/0.6092, allocations: 19.98 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.6095, allocations: 6.531 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.6108, allocations: 1.361 MB / 1.029 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.6111, allocations: 0.6852 MB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.285e-05/0.6111, allocations: 11.98 kB / 1.03 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.6112, allocations: 19.42 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6112, allocations: 4 kB / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01069/0.6219, allocations: 1.446 MB / 1.032 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/0.6221, allocations: 200.5 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.141, allocations: 0 / 1.032 GB, free: 6.621 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