Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_9_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.001733/0.001733, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002196/0.002196, allocations: 197 kB / 16.53 MB, free: 6.664 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.308/2.308, allocations: 390.3 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6069/0.6084, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001846/0.6103, allocations: 0.6938 MB / 0.9504 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007316/0.611, allocations: 0.8458 MB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.6111, allocations: 0 / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.6111, allocations: 5.531 kB / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.6112, allocations: 11.86 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.6114, allocations: 19.34 kB / 0.9513 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.537e-05/0.6114, allocations: 63.02 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.6116, allocations: 20.42 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.501e-05/0.6117, allocations: 33.56 kB / 0.9514 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.6117, allocations: 26.67 kB / 0.9514 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.6117, allocations: 5.594 kB / 0.9514 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.6118, allocations: 5.969 kB / 0.9514 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.6118, allocations: 9.547 kB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.6118, allocations: 30.53 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.564e-05/0.6119, allocations: 67.36 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6119, allocations: 3.984 kB / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6119, allocations: 0 / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.6119, allocations: 0 / 0.9515 GB, free: 7.715 MB / 0.7169 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.0003642/0.6123, allocations: 366 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.6123, allocations: 9.438 kB / 0.9519 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.766e-05/0.6124, allocations: 36.19 kB / 0.9519 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.6124, allocations: 15.52 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.6126, allocations: 191.4 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.6126, allocations: 7.219 kB / 0.9521 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.6127, allocations: 7.156 kB / 0.9521 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.6128, allocations: 55.64 kB / 0.9522 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.6128, allocations: 7.922 kB / 0.9522 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.6128, allocations: 0 / 0.9522 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.6128, allocations: 1.375 kB / 0.9522 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.291e-05/0.6129, allocations: 28.8 kB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.6132, allocations: 309.9 kB / 0.9525 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.6135, allocations: 65.44 kB / 0.9526 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.6136, allocations: 21.41 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.6136, allocations: 0 / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.6136, allocations: 39.94 kB / 0.9526 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.6136, allocations: 0 / 0.9526 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002324/0.6139, allocations: 69.89 kB / 0.9527 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.6139, allocations: 52.72 kB / 0.9527 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.269e-05/0.614, allocations: 128.6 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.614, allocations: 31.27 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.614, allocations: 95.02 kB / 0.953 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.6141, allocations: 5.469 kB / 0.953 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.6141, allocations: 21.98 kB / 0.953 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.6141, allocations: 316.1 kB / 0.9533 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.161e-05/0.6142, allocations: 16.92 kB / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.559e-05/0.6143, allocations: 31.36 kB / 0.9534 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.929e-05/0.6143, allocations: 30.19 kB / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6144, allocations: 0 / 0.9534 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001226/0.6145, allocations: 70.88 kB / 0.9534 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6145, allocations: 5.219 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6145, allocations: 3.984 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.6145, allocations: 1.156 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.746e-05/0.6146, allocations: 4.75 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6146, allocations: 0 / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.6147, allocations: 17.92 kB / 0.9535 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.6147, allocations: 0.75 kB / 0.9535 GB, free: 5.719 MB / 0.7169 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 5.928e-05/0.6147, allocations: 114.4 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.6148, allocations: 5.312 kB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.265e-05/0.6148, allocations: 5.375 kB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6148, allocations: 2.219 kB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6148, allocations: 336 / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6148, allocations: 3.984 kB / 0.9536 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.6149, allocations: 178.9 kB / 0.9538 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.615, allocations: 5.156 kB / 0.9538 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.615, allocations: 11.55 kB / 0.9538 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.615, allocations: 5.203 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.615, allocations: 3.938 kB / 0.9538 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.615, allocations: 1.281 kB / 0.9538 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.615, allocations: 4 kB / 0.9538 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.6152, allocations: 154.7 kB / 0.954 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.6152, allocations: 87.45 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.6152, allocations: 0 / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.6153, allocations: 7.641 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.6154, allocations: 11.8 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.6154, allocations: 1.188 kB / 0.9541 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.067e-05/0.6154, allocations: 93.95 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6154, allocations: 0 / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002192/0.6157, allocations: 11.28 kB / 0.9542 GB, free: 5 MB / 0.7169 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.0003292/0.616, allocations: 0.6964 MB / 0.9548 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.6162, allocations: 32.14 kB / 0.9549 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6162, allocations: 0 / 0.9549 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.6162, allocations: 21.42 kB / 0.9549 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.6165, allocations: 8 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.6176, allocations: 1.332 MB / 0.9562 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.6177, allocations: 0.6966 MB / 0.9569 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.052e-05/0.6178, allocations: 6.406 kB / 0.9569 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.6178, allocations: 19.2 kB / 0.9569 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.6178, allocations: 0 / 0.9569 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.6367, allocations: 1.713 MB / 0.9586 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.027/7.663, allocations: 7.734 kB / 0.9586 GB, free: 1.34 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches