Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.001311/0.001311, allocations: 107.8 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.001424/0.001424, allocations: 187.7 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.516/1.516, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 443.5 MB / 0.7287 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_H,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.89 kB / 1.056 GB, free: 2.57 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3593, allocations: 160.7 MB / 1.213 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.002418/0.3617, allocations: 0.697 MB / 1.214 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.363, allocations: 0.8588 MB / 1.214 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.3631, allocations: 0 / 1.214 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.3631, allocations: 3.938 kB / 1.214 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.3632, allocations: 7.875 kB / 1.214 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.3634, allocations: 23.97 kB / 1.214 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3635, allocations: 55.86 kB / 1.214 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3637, allocations: 19.97 kB / 1.215 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3638, allocations: 31.8 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.024e-05/0.3639, allocations: 23.92 kB / 1.215 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.3639, allocations: 4 kB / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.479e-05/0.3639, allocations: 8 kB / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.3639, allocations: 15.91 kB / 1.215 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.364, allocations: 23.88 kB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.3641, allocations: 67.56 kB / 1.215 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3641, allocations: 0 / 1.215 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3641, allocations: 0 / 1.215 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.3641, allocations: 4 kB / 1.215 GB, free: 15.68 MB / 0.9669 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.0006017/0.3647, allocations: 371.2 kB / 1.215 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.3648, allocations: 8.031 kB / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.3648, allocations: 42.73 kB / 1.215 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.3649, allocations: 4.891 kB / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.3652, allocations: 200.2 kB / 1.215 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.3652, allocations: 4.375 kB / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.3652, allocations: 384 / 1.215 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.3654, allocations: 62.23 kB / 1.215 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3654, allocations: 3.938 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3654, allocations: 4 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.3654, allocations: 3.984 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.3655, allocations: 27.98 kB / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004909/0.366, allocations: 292.8 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.3663, allocations: 70.53 kB / 1.216 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.698e-05/0.3664, allocations: 21 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3664, allocations: 0 / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3664, allocations: 30.56 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3664, allocations: 4 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0003176/0.3667, allocations: 73.56 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.3668, allocations: 59.41 kB / 1.216 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3669, allocations: 125.8 kB / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3669, allocations: 25.7 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.018e-05/0.367, allocations: 92.09 kB / 1.216 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.3671, allocations: 7.953 kB / 1.216 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.3671, allocations: 17.7 kB / 1.216 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3673, allocations: 326.7 kB / 1.216 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/0.3673, allocations: 15.98 kB / 1.216 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.3674, allocations: 29.7 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.3675, allocations: 32.78 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3675, allocations: 4 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001459/0.3676, allocations: 65.64 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3677, allocations: 12.02 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3677, allocations: 0 / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3677, allocations: 0 / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.058e-05/0.3677, allocations: 4 kB / 1.217 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3677, allocations: 7.984 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.035e-05/0.3678, allocations: 11.92 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.3678, allocations: 0 / 1.217 GB, free: 13.42 MB / 0.9669 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.0001078/0.3679, allocations: 117.8 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.3679, allocations: 8 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.368, allocations: 7.906 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.368, allocations: 0 / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.368, allocations: 3.984 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.368, allocations: 4 kB / 1.217 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.3682, allocations: 181.5 kB / 1.217 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3682, allocations: 0 / 1.217 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.3683, allocations: 7.984 kB / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3683, allocations: 0 / 1.217 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3683, allocations: 4 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3683, allocations: 4 kB / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3683, allocations: 336 / 1.217 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.3685, allocations: 163.5 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.759e-05/0.3686, allocations: 85 kB / 1.217 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.3686, allocations: 0 / 1.217 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.3687, allocations: 7.984 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.3687, allocations: 7.984 kB / 1.217 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.3687, allocations: 4 kB / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.057e-05/0.3688, allocations: 103.6 kB / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3688, allocations: 0 / 1.217 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002531/0.3691, allocations: 8 kB / 1.217 GB, free: 12.61 MB / 0.9669 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.0006078/0.3697, allocations: 0.6928 MB / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.3698, allocations: 35.97 kB / 1.218 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3698, allocations: 0 / 1.218 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.3699, allocations: 15.94 kB / 1.218 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3703, allocations: 11.94 kB / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.3723, allocations: 1.344 MB / 1.219 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.3729, allocations: 0.6846 MB / 1.22 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.523e-05/0.3729, allocations: 7.984 kB / 1.22 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.373, allocations: 15.44 kB / 1.22 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of SimCode: time 9.51e-07/0.373, allocations: 0 / 1.22 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.4022, allocations: 1.753 MB / 1.222 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.403/8.805, allocations: 10.48 kB / 1.222 GB, free: 8.008 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.869164713658392]