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.00183/0.00183, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002254/0.002254, allocations: 215.3 kB / 23.04 MB, free: 5.078 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.428/3.428, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_latest_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.001981/0.001981, allocations: 62.31 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4284, allocations: 179 MB / 1.345 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002597/0.431, allocations: 0.7156 MB / 1.346 GB, free: 15.78 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.4325, allocations: 0.89 MB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.4325, allocations: 0 / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/0.4326, allocations: 3.938 kB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.4327, allocations: 11.86 kB / 1.347 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.433, allocations: 23.97 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.4331, allocations: 63.72 kB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.4332, allocations: 12 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.4334, allocations: 35.91 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.4335, allocations: 31.84 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.4336, allocations: 8 kB / 1.347 GB, free: 14.69 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.729e-05/0.4336, allocations: 8 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.4336, allocations: 4 kB / 1.347 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.4337, allocations: 35.8 kB / 1.347 GB, free: 14.64 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.4339, allocations: 71.92 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.4339, allocations: 4 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4339, allocations: 3.938 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.4339, allocations: 0 / 1.347 GB, free: 14.57 MB / 1.045 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.0005796/0.4345, allocations: 294.1 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.4345, allocations: 12.03 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.542e-05/0.4345, allocations: 192 / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.4346, allocations: 30.75 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.4348, allocations: 20.88 kB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.435, allocations: 134.4 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4351, allocations: 4.375 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.4351, allocations: 4.375 kB / 1.348 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4352, allocations: 65.92 kB / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4353, allocations: 0 / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4353, allocations: 3.938 kB / 1.348 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4353, allocations: 4 kB / 1.348 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.4354, allocations: 31.97 kB / 1.348 GB, free: 13.9 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.4358, allocations: 263.9 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.4362, allocations: 74.53 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.4362, allocations: 12.86 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.4362, allocations: 0 / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.4363, allocations: 38.64 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.4363, allocations: 0 / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002713/0.4365, allocations: 73.62 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.4366, allocations: 55.34 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.4367, allocations: 117.8 kB / 1.348 GB, free: 13.19 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.4367, allocations: 29.7 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.4368, allocations: 100 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.4368, allocations: 3.953 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.4368, allocations: 17.72 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.437, allocations: 334.7 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.4371, allocations: 15.98 kB / 1.349 GB, free: 12.67 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.4371, allocations: 21.72 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.88e-05/0.4372, allocations: 36.83 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4372, allocations: 0 / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001484/0.4374, allocations: 61.62 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4374, allocations: 9.875 kB / 1.349 GB, free: 12.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4374, allocations: 8.359 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4374, allocations: 0 / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.4375, allocations: 7.984 kB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4375, allocations: 0 / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.4375, allocations: 11.94 kB / 1.349 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.4376, allocations: 4 kB / 1.349 GB, free: 12.5 MB / 1.045 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.0001348/0.4377, allocations: 121.8 kB / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.4377, allocations: 0 / 1.349 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.4378, allocations: 16 kB / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4378, allocations: 0 / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4378, allocations: 0 / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4378, allocations: 0 / 1.349 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.4379, allocations: 148.7 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4379, allocations: 0 / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.438, allocations: 4 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.438, allocations: 0 / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.438, allocations: 3.984 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.438, allocations: 3.984 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.438, allocations: 4 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.4382, allocations: 167.3 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.4383, allocations: 7.953 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.4383, allocations: 4 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.4384, allocations: 4 kB / 1.349 GB, free: 11.95 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.4384, allocations: 11.97 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.4384, allocations: 0 / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.002e-05/0.4385, allocations: 99.27 kB / 1.35 GB, free: 11.84 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4385, allocations: 7.938 kB / 1.35 GB, free: 11.83 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002261/0.4387, allocations: 4 kB / 1.35 GB, free: 11.83 MB / 1.045 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.0005677/0.4393, allocations: 0.6889 MB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.4395, allocations: 39.98 kB / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4395, allocations: 0 / 1.35 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 5.746e-05/0.4395, allocations: 15.98 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.4399, allocations: 9.375 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.4414, allocations: 1.341 MB / 1.352 GB, free: 9.629 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.4417, allocations: 0.6883 MB / 1.352 GB, free: 8.914 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.352e-05/0.4417, allocations: 8.406 kB / 1.352 GB, free: 8.906 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.4418, allocations: 19.44 kB / 1.352 GB, free: 8.887 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.4418, allocations: 0 / 1.352 GB, free: 8.887 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.4641, allocations: 1.906 MB / 1.354 GB, free: 7.129 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.7, allocations: 10.25 kB / 1.354 GB, free: 7.121 MB / 1.045 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] [Calling os._exit(0), Time elapsed: 18.923912226047833] Failed to read output from testmodel.py, exit status != 0: 11.864337024046108 11.884696658 11.446957912 Calling exit ...