Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00137/0.00137, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001578/0.001578, allocations: 213.9 kB / 23.02 MB, free: 4.949 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.235/3.235, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="cs",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.002113/0.002113, allocations: 64.53 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4066, allocations: 176.1 MB / 1.327 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002145/0.4087, allocations: 0.685 MB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.4099, allocations: 0.8822 MB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.4099, allocations: 4 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.042e-05/0.41, allocations: 4.047 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.4101, allocations: 15.86 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.4103, allocations: 23.91 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.4104, allocations: 59.69 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4105, allocations: 15.98 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.4107, allocations: 31.91 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.267e-05/0.4108, allocations: 23.86 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.4108, allocations: 8 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.175e-05/0.4109, allocations: 8 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.4109, allocations: 15.98 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.4109, allocations: 31.73 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.4111, allocations: 71.94 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.4111, allocations: 4 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4111, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.4111, allocations: 0 / 1.328 GB, free: 15.69 MB / 1.029 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.000516/0.4116, allocations: 286.2 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4116, allocations: 12.03 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.375e-05/0.4117, allocations: 192 / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.4117, allocations: 34.75 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.4119, allocations: 20.88 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.4121, allocations: 142.4 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4121, allocations: 384 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.4122, allocations: 4.375 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.4123, allocations: 61.92 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4123, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4123, allocations: 11.98 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.4124, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.4125, allocations: 27.98 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.4129, allocations: 255.9 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.4132, allocations: 74.45 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.4133, allocations: 16.92 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.4133, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.4133, allocations: 30.56 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.4133, allocations: 3.938 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002923/0.4136, allocations: 85.64 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.4137, allocations: 55.41 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.4138, allocations: 117.8 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.4138, allocations: 25.7 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.4139, allocations: 96.06 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.4139, allocations: 7.953 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.4139, allocations: 17.72 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4141, allocations: 322.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.4141, allocations: 12 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.041e-05/0.4142, allocations: 59.41 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.288e-05/0.4143, allocations: 28.84 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4143, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001586/0.4145, allocations: 69.56 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.4145, allocations: 4 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4145, allocations: 4 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.4145, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.4146, allocations: 7.984 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.4146, allocations: 32 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.278e-05/0.4146, allocations: 15.94 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.4147, allocations: 4 kB / 1.33 GB, free: 13.61 MB / 1.029 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.0001174/0.4148, allocations: 122.3 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.4148, allocations: 3.953 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.4148, allocations: 12 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4149, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4149, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4149, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.4151, allocations: 148.7 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4151, allocations: 4 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.4151, allocations: 4.328 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4151, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4151, allocations: 0 / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.4151, allocations: 11.86 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4151, allocations: 0 / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.4153, allocations: 163.4 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.4153, allocations: 8 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.4153, allocations: 0 / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.4154, allocations: 4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.4155, allocations: 11.98 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.4155, allocations: 3.984 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.792e-05/0.4155, allocations: 95.72 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4155, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002252/0.4158, allocations: 11.95 kB / 1.331 GB, free: 12.93 MB / 1.029 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.0004907/0.4162, allocations: 0.6889 MB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.4164, allocations: 31.98 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4164, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.718e-05/0.4165, allocations: 19.92 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.4168, allocations: 9.875 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.4183, allocations: 1.343 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.534e-05/0.4184, allocations: 63.34 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.4184, allocations: 8 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.4185, allocations: 19.42 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4185, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.4411, allocations: 1.954 MB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.83, allocations: 7.438 kB / 1.335 GB, free: 8.824 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_12_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.906638185027987] Failed to read output from testmodel.py, exit status != 0: 11.987387069035321 12.011004361 11.595749041 Calling exit ...