Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 214.6 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.35/3.35, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 62.58 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3938, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.00265/0.3964, allocations: 0.6857 MB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.398, allocations: 0.8821 MB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.3981, allocations: 0 / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.582e-05/0.3981, allocations: 7.875 kB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.3982, allocations: 7.938 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.3985, allocations: 35.89 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.3986, allocations: 51.86 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3988, allocations: 11.98 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.399, allocations: 35.86 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.3991, allocations: 23.84 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.3991, allocations: 8 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.546e-05/0.3992, allocations: 11.98 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.3992, allocations: 11.94 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.3993, allocations: 23.92 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.3994, allocations: 79.92 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3995, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.195e-06/0.3995, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.3995, allocations: 0 / 1.365 GB, free: 12.21 MB / 1.061 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.000636/0.4001, allocations: 290.2 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4001, allocations: 8.031 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.294e-05/0.4002, allocations: 34.73 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.4004, allocations: 16.89 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.4007, allocations: 142.3 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.4007, allocations: 8.375 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.4007, allocations: 4.375 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.4009, allocations: 54.23 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.4009, allocations: 3.938 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4009, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.4009, allocations: 7.938 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.4011, allocations: 31.97 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.4016, allocations: 267.8 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.4019, allocations: 70.53 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.402, allocations: 12.92 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.402, allocations: 4.094 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.4021, allocations: 34.55 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.4021, allocations: 0 / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003304/0.4024, allocations: 73.59 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.4024, allocations: 55.41 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.4026, allocations: 121.8 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/0.4026, allocations: 33.7 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.4027, allocations: 96.02 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.4027, allocations: 7.953 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.4028, allocations: 21.7 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.403, allocations: 318.8 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.403, allocations: 15.98 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.4031, allocations: 55.41 kB / 1.367 GB, free: 10.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.4033, allocations: 36.81 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4033, allocations: 0 / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001963/0.4035, allocations: 65.64 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4035, allocations: 4 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4035, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.4035, allocations: 4 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.4036, allocations: 7.984 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4036, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.177e-05/0.4037, allocations: 7.984 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.4037, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 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 (shaH.hys.y,$PRE.shaH.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 0.000143/0.4038, allocations: 122.9 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.4038, allocations: 11.89 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.4039, allocations: 8 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.4039, allocations: 4 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4039, allocations: 3.938 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4039, allocations: 0 / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.4042, allocations: 140.7 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4042, allocations: 4 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.768e-05/0.4042, allocations: 11.92 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.4042, allocations: 4 kB / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4042, allocations: 0 / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4042, allocations: 0 / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4042, allocations: 0 / 1.367 GB, free: 9.762 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.4045, allocations: 155.5 kB / 1.367 GB, free: 9.594 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.4045, allocations: 7.953 kB / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.4045, allocations: 0 / 1.367 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.4046, allocations: 7.984 kB / 1.367 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.4047, allocations: 11.98 kB / 1.367 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.4047, allocations: 3.938 kB / 1.367 GB, free: 9.562 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.823e-05/0.4048, allocations: 99.27 kB / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4048, allocations: 0 / 1.368 GB, free: 9.465 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003644/0.4052, allocations: 4 kB / 1.368 GB, free: 9.461 MB / 1.061 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 (shaH.hys.y) * Number of discrete states: 1 (shaH.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.0006189/0.4058, allocations: 0.6894 MB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.406, allocations: 43.89 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.406, allocations: 0 / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.393e-05/0.4061, allocations: 16 kB / 1.368 GB, free: 8.688 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.4065, allocations: 14.33 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.4086, allocations: 1.334 MB / 1.37 GB, free: 7.262 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.878e-05/0.4087, allocations: 67.34 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.904e-05/0.4087, allocations: 7.984 kB / 1.37 GB, free: 7.168 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.4088, allocations: 19.44 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.4088, allocations: 3.938 kB / 1.37 GB, free: 7.145 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03575/0.4446, allocations: 2.313 MB / 1.372 GB, free: 4.973 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.86, allocations: 8 kB / 1.372 GB, free: 4.965 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Shade.Validation.Shade_H.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: 18.908921057824045]