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.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.0008494/0.0008494, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008959/0.0008959, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8948/0.8948, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.647/1.647, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.625e-06/2.625e-06, allocations: 3.984 kB / 0.9505 GB, free: 2.41 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073e-05/1.336e-05, allocations: 6.219 kB / 0.9505 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Shade.Validation.Shade_H): time 0.001107/0.00112, allocations: 0.6935 MB / 0.9511 GB, free: 1.699 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007806/0.001901, allocations: 0.8782 MB / 0.952 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/0.001944, allocations: 0 / 0.952 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.947e-05/0.001974, allocations: 7.875 kB / 0.952 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.662e-05/0.00205, allocations: 11.88 kB / 0.952 GB, free: 0.7891 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.002229, allocations: 23.91 kB / 0.952 GB, free: 0.7656 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.267e-05/0.002312, allocations: 59.78 kB / 0.9521 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.254e-05/0.002404, allocations: 19.98 kB / 0.9521 GB, free: 0.6875 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.002529, allocations: 35.91 kB / 0.9521 GB, free: 0.6523 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.002586, allocations: 27.91 kB / 0.9522 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.0026, allocations: 4 kB / 0.9522 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.478e-05/0.002635, allocations: 11.94 kB / 0.9522 GB, free: 0.6094 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.002652, allocations: 15.92 kB / 0.9522 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.002673, allocations: 12 kB / 0.9522 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.002792, allocations: 79.69 kB / 0.9523 GB, free: 0.5039 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.002794, allocations: 4 kB / 0.9523 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002795, allocations: 0 / 0.9523 GB, free: 0.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.002799, allocations: 0 / 0.9523 GB, free: 0.5 MB / 0.8542 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.0003421/0.003141, allocations: 298 kB / 0.9526 GB, free: 180 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.003175, allocations: 12.03 kB / 0.9526 GB, free: 168 kB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.003202, allocations: 30.75 kB / 0.9526 GB, free: 128 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.003302, allocations: 16.88 kB / 0.9526 GB, free: 112 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.003474, allocations: 133.7 kB / 0.9528 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.003487, allocations: 8.375 kB / 0.9528 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.003495, allocations: 4.312 kB / 0.9528 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.003597, allocations: 62.17 kB / 0.9528 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.003603, allocations: 4.188 kB / 0.9528 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.003611, allocations: 384 / 0.9528 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.003617, allocations: 4.125 kB / 0.9528 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.003679, allocations: 31.97 kB / 0.9529 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.003986, allocations: 252 kB / 0.9531 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.004155, allocations: 70.41 kB / 0.9532 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.004186, allocations: 25 kB / 0.9532 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.0042, allocations: 0 / 0.9532 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.004215, allocations: 34.56 kB / 0.9532 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.004216, allocations: 0 / 0.9532 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001643/0.00438, allocations: 69.62 kB / 0.9533 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.004408, allocations: 55.34 kB / 0.9534 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.004474, allocations: 125.8 kB / 0.9535 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.004487, allocations: 29.7 kB / 0.9535 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.004531, allocations: 92.09 kB / 0.9536 GB, free: 15 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.004544, allocations: 11.95 kB / 0.9536 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.004572, allocations: 21.7 kB / 0.9536 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/0.004645, allocations: 314.8 kB / 0.9539 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.184e-05/0.004677, allocations: 15.98 kB / 0.9539 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.663e-05/0.004724, allocations: 55.41 kB / 0.954 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.567e-05/0.004779, allocations: 33.11 kB / 0.954 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.004782, allocations: 4 kB / 0.954 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.978e-05/0.004862, allocations: 69.56 kB / 0.9541 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.004874, allocations: 7.984 kB / 0.9541 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.004879, allocations: 7.969 kB / 0.9541 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.00489, allocations: 0 / 0.9541 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.77e-05/0.004918, allocations: 4 kB / 0.9541 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.004922, allocations: 0 / 0.9541 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.004951, allocations: 15.94 kB / 0.9541 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.004956, allocations: 0 / 0.9541 GB, free: 14.41 MB / 0.8698 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.842e-05/0.005014, allocations: 117.8 kB / 0.9542 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.005028, allocations: 7.938 kB / 0.9542 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.005048, allocations: 8 kB / 0.9543 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.00505, allocations: 4 kB / 0.9543 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.005054, allocations: 0 / 0.9543 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.005059, allocations: 7.984 kB / 0.9543 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.005169, allocations: 140.8 kB / 0.9544 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.00517, allocations: 0 / 0.9544 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.005187, allocations: 7.984 kB / 0.9544 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.005189, allocations: 4 kB / 0.9544 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.005195, allocations: 0 / 0.9544 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005195, allocations: 0 / 0.9544 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005196, allocations: 0 / 0.9544 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.005302, allocations: 168 kB / 0.9546 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-06/0.005311, allocations: 7.953 kB / 0.9546 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.005322, allocations: 0 / 0.9546 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.00536, allocations: 7.984 kB / 0.9546 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.005399, allocations: 11.98 kB / 0.9546 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.005401, allocations: 0 / 0.9546 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.005437, allocations: 91.27 kB / 0.9547 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.005437, allocations: 0 / 0.9547 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001474/0.005584, allocations: 11.94 kB / 0.9547 GB, free: 13.75 MB / 0.8698 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.000269/0.005853, allocations: 0.6928 MB / 0.9554 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.005957, allocations: 35.97 kB / 0.9554 GB, free: 13 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.005959, allocations: 0 / 0.9554 GB, free: 13 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.858e-05/0.005987, allocations: 16 kB / 0.9554 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.006178, allocations: 7.984 kB / 0.9554 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.007063, allocations: 1.33 MB / 0.9567 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/0.007111, allocations: 75.31 kB / 0.9568 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.007143, allocations: 7.938 kB / 0.9568 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.007191, allocations: 20.48 kB / 0.9568 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/0.007191, allocations: 0 / 0.9568 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.02203, allocations: 2.449 MB / 0.9592 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/6.813, allocations: 6.031 kB / 0.9592 GB, free: 9.133 MB / 0.8698 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.Shade.Validation.Shade_H_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_Shade_Validation_Shade_H_fmu --startTime=0 --stopTime=1800 --stepSize=0.72 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Shade_Validation_Shade_H.csv","/var/lib/jenkins/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.726321364752948]