Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001161/0.001161, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001193/0.001193, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.325/1.325, allocations: 225.6 MB / 249.3 MB, free: 3.164 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.527/2.527, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 177] 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_H,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Shade.Validation.Shade_H,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 68.12 kB / 1.107 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8084/0.8102, allocations: 168.7 MB / 1.271 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001625/0.8118, allocations: 0.7171 MB / 1.272 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000765/0.8126, allocations: 0.8456 MB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.276e-05/0.8127, allocations: 0.7188 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.414e-05/0.8127, allocations: 4.969 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.758e-05/0.8128, allocations: 10.16 kB / 1.273 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.8129, allocations: 25.23 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.432e-05/0.813, allocations: 64.3 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.629e-05/0.8131, allocations: 12.78 kB / 1.273 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.8132, allocations: 28.38 kB / 1.273 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.8132, allocations: 36.14 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.8133, allocations: 5.938 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.8133, allocations: 5.406 kB / 1.273 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.8133, allocations: 8.109 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.8133, allocations: 23.44 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.8134, allocations: 71.59 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8134, allocations: 0.875 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8134, allocations: 4 kB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.8135, allocations: 0 / 1.273 GB, free: 6.348 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.0003688/0.8138, allocations: 364.7 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.8139, allocations: 9.391 kB / 1.274 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.553e-05/0.8139, allocations: 37.19 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.8139, allocations: 7.891 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.8141, allocations: 196 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.8141, allocations: 1.844 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.8141, allocations: 7.531 kB / 1.274 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.8142, allocations: 63.39 kB / 1.274 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8142, allocations: 4.547 kB / 1.274 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.8143, allocations: 4.844 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.8143, allocations: 0.75 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.916e-05/0.8144, allocations: 24.84 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003323/0.8147, allocations: 309.4 kB / 1.274 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.815, allocations: 67.42 kB / 1.274 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.815, allocations: 19.77 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.815, allocations: 0.8438 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.815, allocations: 39.06 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.815, allocations: 0 / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0002195/0.8153, allocations: 72.34 kB / 1.274 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.756e-05/0.8153, allocations: 51.41 kB / 1.274 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.8153, allocations: 123.1 kB / 1.274 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.8154, allocations: 26.64 kB / 1.275 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.8154, allocations: 96.78 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.8154, allocations: 9.672 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.8154, allocations: 20.47 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.8155, allocations: 321.9 kB / 1.275 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.964e-05/0.8155, allocations: 14.44 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.8156, allocations: 35.73 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.673e-05/0.8157, allocations: 30.75 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8157, allocations: 0 / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001194/0.8158, allocations: 70.03 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.8158, allocations: 6.906 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.8158, allocations: 1.188 kB / 1.275 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.8158, allocations: 3.938 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.519e-05/0.8159, allocations: 6.734 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.8159, allocations: 1.094 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/0.8159, allocations: 7.766 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.8159, allocations: 1.062 kB / 1.275 GB, free: 4.473 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 (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 5.213e-05/0.816, allocations: 128 kB / 1.275 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.816, allocations: 9.984 kB / 1.275 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.412e-05/0.816, allocations: 9.969 kB / 1.275 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.816, allocations: 0.9688 kB / 1.275 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.816, allocations: 0 / 1.275 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.816, allocations: 1.094 kB / 1.275 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.8161, allocations: 172.9 kB / 1.275 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8161, allocations: 2.406 kB / 1.275 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.915e-05/0.8162, allocations: 5.562 kB / 1.275 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8162, allocations: 0.5938 kB / 1.275 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.8162, allocations: 4.75 kB / 1.275 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.8162, allocations: 0 / 1.275 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8162, allocations: 1.609 kB / 1.275 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.8163, allocations: 154.3 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.8163, allocations: 89.17 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.8164, allocations: 1 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.8164, allocations: 8.5 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.8165, allocations: 12.45 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.8165, allocations: 1.656 kB / 1.276 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.496e-05/0.8165, allocations: 95.97 kB / 1.276 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8165, allocations: 0 / 1.276 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002071/0.8167, allocations: 11.78 kB / 1.276 GB, free: 3.781 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 (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.0002713/0.817, allocations: 0.6902 MB / 1.276 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.8171, allocations: 41.44 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8171, allocations: 0 / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.8172, allocations: 16.19 kB / 1.277 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.8174, allocations: 13.03 kB / 1.277 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.8185, allocations: 1.335 MB / 1.278 GB, free: 17.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.8188, allocations: 0.6887 MB / 1.279 GB, free: 17.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.8188, allocations: 6.594 kB / 1.279 GB, free: 17.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.8189, allocations: 18.55 kB / 1.279 GB, free: 17.14 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.8189, allocations: 3.938 kB / 1.279 GB, free: 17.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.8407, allocations: 1.742 MB / 1.28 GB, free: 16.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/7.801, allocations: 7.25 kB / 1.28 GB, free: 16.75 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv --start-time 0 --stop-time 1800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H.fmu > Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable shaH.H in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.H from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! Error: Could not read variable shaH.HHigh in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.HHigh from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! Error: Could not read variable shaH.HLow in file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv. Warning: Get data of variable shaH.HLow from file Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.221777329999895]