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.001303/0.001303, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.00133/0.00133, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] 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.797/2.797, allocations: 476.7 MB / 0.7611 GB, free: 15.79 MB / 0.6075 GB " [Timeout remaining time 176] 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.001911/0.001911, allocations: 67.89 kB / 1.104 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104/1.106, allocations: 168.7 MB / 1.269 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_T): time 0.002183/1.108, allocations: 0.714 MB / 1.269 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001093/1.109, allocations: 0.8491 MB / 1.27 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/1.109, allocations: 0.875 kB / 1.27 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/1.109, allocations: 4.594 kB / 1.27 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/1.109, allocations: 10.66 kB / 1.27 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/1.109, allocations: 21.19 kB / 1.27 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/1.109, allocations: 61.61 kB / 1.27 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/1.11, allocations: 19.27 kB / 1.27 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/1.11, allocations: 28.88 kB / 1.27 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.347e-05/1.11, allocations: 29.05 kB / 1.27 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/1.11, allocations: 9.438 kB / 1.27 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/1.11, allocations: 8.938 kB / 1.27 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/1.11, allocations: 8.516 kB / 1.27 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/1.11, allocations: 28.02 kB / 1.27 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/1.11, allocations: 67.89 kB / 1.271 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.11, allocations: 0.9062 kB / 1.271 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.733e-06/1.11, allocations: 0 / 1.271 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.051e-05/1.11, allocations: 4 kB / 1.271 GB, free: 6.68 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.0004854/1.111, allocations: 363.9 kB / 1.271 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.111, allocations: 9.656 kB / 1.271 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/1.111, allocations: 37.22 kB / 1.271 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/1.111, allocations: 8.375 kB / 1.271 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/1.111, allocations: 195.9 kB / 1.271 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.111, allocations: 2.406 kB / 1.271 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/1.111, allocations: 11.5 kB / 1.271 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/1.111, allocations: 59.5 kB / 1.271 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.111, allocations: 7.875 kB / 1.271 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/1.111, allocations: 0 / 1.271 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.111, allocations: 1.688 kB / 1.271 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/1.111, allocations: 33.66 kB / 1.271 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/1.112, allocations: 292.7 kB / 1.271 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/1.112, allocations: 70.69 kB / 1.272 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.238e-05/1.112, allocations: 18.22 kB / 1.272 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/1.112, allocations: 0.7969 kB / 1.272 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/1.112, allocations: 35.5 kB / 1.272 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/1.112, allocations: 4.812 kB / 1.272 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.000265/1.112, allocations: 74.64 kB / 1.272 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/1.112, allocations: 52.62 kB / 1.272 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.11e-05/1.112, allocations: 119.3 kB / 1.272 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/1.112, allocations: 27.17 kB / 1.272 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/1.112, allocations: 101 kB / 1.272 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/1.112, allocations: 6.203 kB / 1.272 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/1.112, allocations: 19.08 kB / 1.272 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/1.113, allocations: 322.4 kB / 1.272 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.598e-05/1.113, allocations: 14.36 kB / 1.272 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/1.113, allocations: 31.62 kB / 1.272 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.509e-05/1.113, allocations: 26.36 kB / 1.272 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.113, allocations: 0.9375 kB / 1.272 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001322/1.113, allocations: 69.47 kB / 1.272 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.113, allocations: 9.953 kB / 1.272 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.113, allocations: 4.719 kB / 1.272 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.113, allocations: 0 / 1.272 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/1.113, allocations: 7.078 kB / 1.272 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/1.113, allocations: 3.938 kB / 1.272 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/1.113, allocations: 8.219 kB / 1.272 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/1.113, allocations: 2.078 kB / 1.272 GB, free: 4.809 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 6.202e-05/1.113, allocations: 117.5 kB / 1.273 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/1.113, allocations: 7.438 kB / 1.273 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/1.113, allocations: 14.23 kB / 1.273 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.113, allocations: 1.703 kB / 1.273 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/1.113, allocations: 0 / 1.273 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.113, allocations: 4.641 kB / 1.273 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/1.113, allocations: 182.2 kB / 1.273 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/1.113, allocations: 0.7812 kB / 1.273 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/1.113, allocations: 9.219 kB / 1.273 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/1.113, allocations: 0.625 kB / 1.273 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/1.113, allocations: 1.453 kB / 1.273 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.113, allocations: 5.562 kB / 1.273 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.113, allocations: 0 / 1.273 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/1.113, allocations: 155.2 kB / 1.273 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/1.114, allocations: 82.67 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/1.114, allocations: 2.859 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/1.114, allocations: 5.953 kB / 1.273 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/1.114, allocations: 10.86 kB / 1.273 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/1.114, allocations: 5.734 kB / 1.273 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.146e-05/1.114, allocations: 97 kB / 1.273 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.114, allocations: 0.75 kB / 1.273 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002199/1.114, allocations: 7.094 kB / 1.273 GB, free: 4.117 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.0003538/1.114, allocations: 0.6983 MB / 1.274 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001659/1.114, allocations: 32.78 kB / 1.274 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.114, allocations: 0.8438 kB / 1.274 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.627e-05/1.115, allocations: 19.2 kB / 1.274 GB, free: 3.422 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/1.115, allocations: 10.17 kB / 1.274 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/1.116, allocations: 1.333 MB / 1.275 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/1.116, allocations: 0.6887 MB / 1.276 GB, free: 17.49 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.275e-05/1.116, allocations: 4.594 kB / 1.276 GB, free: 17.49 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/1.116, allocations: 20.53 kB / 1.276 GB, free: 17.48 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/1.116, allocations: 3.938 kB / 1.276 GB, free: 17.47 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/1.143, allocations: 1.757 MB / 1.278 GB, free: 17.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.33/9.473, allocations: 26.31 kB / 1.278 GB, free: 17.04 MB / 1.014 GB " [Timeout remaining time 290] (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 --stepSize=0.72 --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_2/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] Reference file matches [Calling sys.exit(0), Time elapsed: 15.695774554274976]