Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 105.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.503/2.503, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_T,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 67.89 kB / 1.107 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7886/0.7903, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.001589/0.7919, allocations: 0.7178 MB / 1.272 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007176/0.7926, allocations: 0.8516 MB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.7927, allocations: 0.7812 kB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.7927, allocations: 8.484 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.234e-05/0.7928, allocations: 7 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.7929, allocations: 28.53 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.284e-05/0.793, allocations: 57.31 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.7931, allocations: 16.12 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.7931, allocations: 28.88 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.7932, allocations: 27.98 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.7932, allocations: 5.469 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.7932, allocations: 6.156 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.7933, allocations: 15.08 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.7933, allocations: 28.81 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.7934, allocations: 67.61 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.7934, allocations: 0.8125 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7934, allocations: 0 / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.7934, allocations: 0 / 1.273 GB, free: 6.477 MB / 0.9981 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.000354/0.7938, allocations: 372.5 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.7938, allocations: 10.09 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.206e-05/0.7938, allocations: 32.12 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.7939, allocations: 8.844 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.794, allocations: 190.8 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.794, allocations: 7.141 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.7941, allocations: 3.375 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.7942, allocations: 63.14 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.7942, allocations: 3.938 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.7942, allocations: 0.8125 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.7942, allocations: 0.8125 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.7943, allocations: 29.97 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.7946, allocations: 300.6 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.7948, allocations: 74.83 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.7949, allocations: 18.45 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.7949, allocations: 0.6875 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.628e-06/0.7949, allocations: 31.92 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7949, allocations: 0 / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.00023/0.7951, allocations: 75.75 kB / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.594e-05/0.7952, allocations: 52.5 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.326e-05/0.7952, allocations: 119.6 kB / 1.274 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.7952, allocations: 30.86 kB / 1.275 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/0.7953, allocations: 97.45 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.7953, allocations: 6.047 kB / 1.275 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.7953, allocations: 19.83 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.334e-05/0.7953, allocations: 330.5 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.827e-05/0.7954, allocations: 14.55 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/0.7954, allocations: 31.09 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.604e-05/0.7955, allocations: 31.39 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7955, allocations: 7.938 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001167/0.7956, allocations: 68.14 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.7956, allocations: 5.875 kB / 1.275 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.7956, allocations: 4.938 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.7957, allocations: 0.9375 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.507e-05/0.7957, allocations: 8.594 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.7957, allocations: 1.094 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.7958, allocations: 5.5 kB / 1.275 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.7958, allocations: 3.109 kB / 1.275 GB, free: 4.598 MB / 0.9981 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 4.595e-05/0.7958, allocations: 117.3 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/0.7958, allocations: 6.141 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.7959, allocations: 13.66 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7959, allocations: 3.266 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.7959, allocations: 0 / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.7959, allocations: 0.9375 kB / 1.275 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.796, allocations: 173.1 kB / 1.275 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.796, allocations: 1.031 kB / 1.275 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.015e-05/0.796, allocations: 6.656 kB / 1.275 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.796, allocations: 0 / 1.275 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.796, allocations: 5.031 kB / 1.275 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.796, allocations: 0 / 1.275 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.796, allocations: 5.062 kB / 1.275 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.7962, allocations: 155 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.7962, allocations: 82.92 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.7962, allocations: 1.656 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.7963, allocations: 10.98 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.7963, allocations: 6.203 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.7963, allocations: 0.875 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.7963, allocations: 102 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7963, allocations: 0 / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002072/0.7965, allocations: 15.22 kB / 1.276 GB, free: 3.91 MB / 0.9981 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.0002565/0.7968, allocations: 0.6918 MB / 1.276 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.7969, allocations: 35.67 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.7969, allocations: 3.938 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/0.797, allocations: 22.52 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.7972, allocations: 13.48 kB / 1.277 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009485/0.7982, allocations: 1.336 MB / 1.278 GB, free: 17.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.7984, allocations: 0.6878 MB / 1.279 GB, free: 17.28 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.7985, allocations: 4.859 kB / 1.279 GB, free: 17.28 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.7985, allocations: 21.47 kB / 1.279 GB, free: 17.26 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.7985, allocations: 0 / 1.279 GB, free: 17.26 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.8198, allocations: 1.741 MB / 1.28 GB, free: 16.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/7.644, allocations: 11.75 kB / 1.28 GB, free: 16.88 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T_fmu --startTime=0 --stopTime=1800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_T.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,shaT.THigh,shaT.TLow,shaT.T,shaT.y Variables in the result:T.amplitude,T.freqHz,T.offset,T.phase,T.startTime,T.y,shaT.T,shaT.THigh,shaT.TLow,shaT.y,time [Calling sys.exit(0), Time elapsed: 12.955273943000066]